Package aQute.remote.embedded.activator
Class EmbeddedActivator
java.lang.Object
aQute.remote.embedded.activator.EmbeddedActivator
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
This activator is placed in bundles that will load embedded bundles when
activated. We mark installed bundles with our bsn + "@" their bsn. This makes
it quick and easy to update the constellation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstart(org.osgi.framework.BundleContext context) The activator start will install any bundles that are not already installed and update embedded bundles that are refreshedvoidstop(org.osgi.framework.BundleContext context) Stop any bundles that our in our domain
-
Constructor Details
-
EmbeddedActivator
public EmbeddedActivator()
-
-
Method Details
-
start
The activator start will install any bundles that are not already installed and update embedded bundles that are refreshed- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Throws:
Exception
-
stop
Stop any bundles that our in our domain- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Throws:
Exception
-