org.ow2.jasmine.monitoring.eos.common.osgi
Class OSGiManager
java.lang.Object
org.ow2.jasmine.monitoring.eos.common.osgi.OSGiManager
- All Implemented Interfaces:
- IOSGiManager
public class OSGiManager
- extends Object
- implements IOSGiManager
Provides help to manage/communicate with the OSGi framework
- Author:
- Julien Nicoulaud
- See Also:
IOSGiManager}
|
Constructor Summary |
OSGiManager()
Build a new OSGi manager |
|
Method Summary |
org.osgi.framework.BundleContext |
getBundleContext()
Get the OSGi bundleContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUNDLE_CONTEXT
public static final String BUNDLE_CONTEXT
- JNDI bundleContext binding
- See Also:
- Constant Field Values
OSGiManager
public OSGiManager()
- Build a new OSGi manager
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
throws Exception
- Get the OSGi bundleContext
- Specified by:
getBundleContext in interface IOSGiManager
- Returns:
- the BundleContext object
- Throws:
Exception - if it could not be retrieved
Copyright © 2012 OW2 Consortium. All Rights Reserved.