public class BundleActivatorAdapter extends Object implements BundleActivator
BundleActivator.State| Constructor and Description |
|---|
BundleActivatorAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initializes the bundle.
|
void |
link()
Prepares the bundle.
|
void |
start()
Starts the bundle.
|
void |
stop()
Stops the bundle.
|
public void initialize()
BundleActivator
Initializes and registers bundle services in the BundleRegistry instance.
initialize in interface BundleActivatorServiceRegistry.register(Class, Object)public void link()
BundleActivatorLinks bundle services to other services.
link in interface BundleActivatorServiceProvider.getService(Class)public void start()
BundleActivatorAt this step, all the bundles are prepared and ready. The services could be started.
start in interface BundleActivatorpublic void stop()
BundleActivatorUnlinks it from the others services and clean possible resources and threads.
stop in interface BundleActivator