public class DefaultOSGiFramework extends java.lang.Object implements OSGiFramework
Modifier and Type | Field and Description |
---|---|
private org.osgi.framework.BundleContext |
bundleContext |
private OSGiConfigurator |
equinoxLocator |
private org.slf4j.Logger |
logger |
Constructor and Description |
---|
DefaultOSGiFramework(OSGiConfigurator equinoxLocator) |
Modifier and Type | Method and Description |
---|---|
org.osgi.framework.BundleContext |
getBundleContext()
Obtain bundle context of embedded OSGi framework.
|
private org.osgi.framework.BundleContext |
launchEquinox() |
private void |
tryActivateBundle(org.osgi.framework.BundleContext bundleContext,
java.lang.String symbolicName) |
private final org.slf4j.Logger logger
private final OSGiConfigurator equinoxLocator
private org.osgi.framework.BundleContext bundleContext
public DefaultOSGiFramework(OSGiConfigurator equinoxLocator)
private org.osgi.framework.BundleContext launchEquinox() throws java.lang.Exception
java.lang.Exception
private void tryActivateBundle(org.osgi.framework.BundleContext bundleContext, java.lang.String symbolicName)
public org.osgi.framework.BundleContext getBundleContext()
OSGiFramework
getBundleContext
in interface OSGiFramework