public class CompositeActivator extends Object implements BundleActivator
The state of the inner activators follows the composite activator state.
BundleActivator.State
Constructor and Description |
---|
CompositeActivator(BundleActivator[] bundles)
Creates a composite activator with its list of inner activators.
|
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initializes the inner activators.
|
void |
link()
Links the inner activators.
|
void |
start()
Starts the inner activators.
|
void |
stop()
Stops the inner activators.
|
public CompositeActivator(BundleActivator[] bundles)
bundles
- the list of inner bundles.public void initialize()
initialize
in interface BundleActivator
ServiceRegistry.register(Class, Object)
public void link()
link
in interface BundleActivator
ServiceProvider.getService(Class)
public void start()
start
in interface BundleActivator
public void stop()
stop
in interface BundleActivator