- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Activator
extends Object
implements org.osgi.framework.BundleActivator
The activator class controls the plug-in life cycle
-
Constructor Summary
Constructors
-
Method Summary
Returns the shared instance
void
start(org.osgi.framework.BundleContext context)
void
stop(org.osgi.framework.BundleContext context)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Activator
public Activator()
The constructor
-
Method Details
-
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
-
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
-
getDefault
Returns the shared instance
- Returns:
- the shared instance