public interface BundleActivator
A bundle is a set of public interfaces that provide access to some specific application functionality or feature.
Modifier and Type | Interface and Description |
---|---|
static class |
BundleActivator.State
The bundle states.
|
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.
|
void initialize()
Initializes and registers bundle services in the BundleRegistry
instance.
ServiceRegistry.register(Class, Object)
void link()
Links bundle services to other services.
ServiceProvider.getService(Class)
void start()
At this step, all the bundles are prepared and ready. The services could be started.
void stop()
Unlinks it from the others services and clean possible resources and threads.