Uses of Interface
org.osgi.framework.BundleContext
Packages that use BundleContext
Package
Description
Framework Package Version 1.5.
Framework Service Hooks Package Version 1.0.
-
Uses of BundleContext in org.osgi.framework
Methods in org.osgi.framework that return BundleContextMethods in org.osgi.framework with parameters of type BundleContextModifier and TypeMethodDescriptionvoid
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.framework.hooks.service
Methods in org.osgi.framework.hooks.service that return BundleContextModifier and TypeMethodDescriptionListenerHook.ListenerInfo.getBundleContext()
Return the context of the bundle which added the listener.Methods in org.osgi.framework.hooks.service with parameters of type BundleContextModifier and TypeMethodDescriptionvoid
FindHook.find
(BundleContext context, String name, String filter, boolean allServices, Collection references) Find hook method.