org.ow2.jasmine.monitoring.eos.common.osgi
Class OSGiManager

java.lang.Object
  extended by 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}

Field Summary
static String BUNDLE_CONTEXT
          JNDI bundleContext binding
 
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
 

Field Detail

BUNDLE_CONTEXT

public static final String BUNDLE_CONTEXT
JNDI bundleContext binding

See Also:
Constant Field Values
Constructor Detail

OSGiManager

public OSGiManager()
Build a new OSGi manager

Method Detail

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.