OSGi Service Platform
Release 4 (draft)

Uses of Interface
org.osgi.framework.BundleContext

Packages that use BundleContext
org.osgi.framework The OSGi Framework Package. 
org.osgi.service.component The OSGi Service Component Package. 
org.osgi.util.tracker The OSGi Service Tracker Package. 
org.osgi.util.xml The OSGi XML Parser service Package. 
 

Uses of BundleContext in org.osgi.framework
 

Methods in org.osgi.framework with parameters of type BundleContext
 void BundleActivator.start(BundleContext context)
          Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start this bundle.
 void BundleActivator.stop(BundleContext context)
          Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle.
 

Uses of BundleContext in org.osgi.service.component
 

Methods in org.osgi.service.component that return BundleContext
 BundleContext ComponentContext.getBundleContext()
          Returns the BundleContext of the bundle which contains this component.
 

Uses of BundleContext in org.osgi.util.tracker
 

Fields in org.osgi.util.tracker declared as BundleContext
protected  BundleContext ServiceTracker.context
          Bundle context this ServiceTracker object is tracking against.
 

Constructors in org.osgi.util.tracker with parameters of type BundleContext
ServiceTracker(BundleContext context, ServiceReference reference, ServiceTrackerCustomizer customizer)
          Create a ServiceTracker object on the specified ServiceReference object.
ServiceTracker(BundleContext context, java.lang.String clazz, ServiceTrackerCustomizer customizer)
          Create a ServiceTracker object on the specified class name.
ServiceTracker(BundleContext context, Filter filter, ServiceTrackerCustomizer customizer)
          Create a ServiceTracker object on the specified Filter object.
 

Uses of BundleContext in org.osgi.util.xml
 

Methods in org.osgi.util.xml with parameters of type BundleContext
 void XMLParserActivator.start(BundleContext context)
          Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start this bundle.
 void XMLParserActivator.stop(BundleContext context)
           This method has nothing to do as all active service registrations will automatically get unregistered when the bundle stops.
 


OSGi Service Platform
Release 4 (draft)

Copyright (c) OSGi Alliance (2000, 2005). All Rights Reserved.