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 java.lang.Object
implements IOSGiManager

Provides help to manage/communicate with the OSGi framework

Author:
Julien Nicoulaud
See Also:
IOSGiManager}

Field Summary
static java.lang.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 java.lang.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 java.lang.Exception
Get the OSGi bundleContext

Specified by:
getBundleContext in interface IOSGiManager
Returns:
the BundleContext object
Throws:
java.lang.Exception - if it could not be retrieved


Copyright © 2011 OW2 Consortium. All Rights Reserved.