Eclipse plugin activator class
eclipse, eclipse-plugin, java
Solution
The activator class handles the lifecycle of the plug-in and provides access to both the underlying OSGi system (i.e. the service registry etc.) and the content of the plug-in (e.g. image files that are contained in the plug-in).
A common use case of the activator is to register an OSGi service when the plug-in is started and to unregister the service when the plug-in is stopped.
Problem
What is the role of activator class in eclipse plugin ?