Package org.fedoraproject.p2.osgi.impl
Class DefaultOSGiFramework
- java.lang.Object
-
- org.fedoraproject.p2.osgi.impl.DefaultOSGiFramework
-
- All Implemented Interfaces:
OSGiFramework
public class DefaultOSGiFramework extends Object implements OSGiFramework
- Author:
- Mikolaj Izdebski
-
-
Constructor Summary
Constructors Constructor Description DefaultOSGiFramework(OSGiConfigurator equinoxLocator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.framework.BundleContext
getBundleContext()
Obtain bundle context of embedded OSGi framework.
-
-
-
Constructor Detail
-
DefaultOSGiFramework
public DefaultOSGiFramework(OSGiConfigurator equinoxLocator)
-
-
Method Detail
-
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
Description copied from interface:OSGiFramework
Obtain bundle context of embedded OSGi framework. This causes the framework to be launched if it is not running yet.- Specified by:
getBundleContext
in interfaceOSGiFramework
- Returns:
- bundle context of embedded OSGi framework
-
-