Uses of Interface
org.osgi.framework.BundleContext
-
Packages that use BundleContext Package Description org.apache.felix.framework org.apache.felix.framework.ext org.apache.felix.framework.util org.osgi.framework Framework Package Version 1.8.org.osgi.framework.hooks.bundle Framework Bundle Hooks Package Version 1.1.org.osgi.framework.hooks.service Framework Service Hooks Package Version 1.1.org.osgi.util.tracker Tracker Package Version 1.5. -
-
Uses of BundleContext in org.apache.felix.framework
Classes in org.apache.felix.framework that implement BundleContext Modifier and Type Class Description (package private) classBundleContextImplFields in org.apache.felix.framework declared as BundleContext Modifier and Type Field Description private BundleContextBundleImpl. m_contextprivate BundleContextLogger. m_contextMethods in org.apache.felix.framework that return BundleContext Modifier and Type Method Description (package private) BundleContextBundleImpl. _getBundleContext()BundleContextBundleImpl. getBundleContext()Methods in org.apache.felix.framework with parameters of type BundleContext Modifier and Type Method Description (package private) BundleFelix. getBundle(BundleContext bc, long id)Implementation for BundleContext.getBundle().(package private) Bundle[]Felix. getBundles(BundleContext bc)Implementation for BundleContext.getBundles().ServiceRegistration<?>ServiceRegistry. registerService(BundleContext context, java.lang.String[] classNames, java.lang.Object svcObj, java.util.Dictionary dict)(package private) voidBundleImpl. setBundleContext(BundleContext context)protected voidLogger. setSystemBundleContext(BundleContext context)voidFelix.SystemBundleActivator. start(BundleContext context)voidURLHandlersActivator. start(BundleContext context)voidFelix.SystemBundleActivator. stop(BundleContext context)voidURLHandlersActivator. stop(BundleContext context) -
Uses of BundleContext in org.apache.felix.framework.ext
Subinterfaces of BundleContext in org.apache.felix.framework.ext Modifier and Type Interface Description interfaceFelixBundleContext -
Uses of BundleContext in org.apache.felix.framework.util
Fields in org.apache.felix.framework.util declared as BundleContext Modifier and Type Field Description private BundleContextListenerInfo. m_contextFields in org.apache.felix.framework.util with type parameters of type BundleContext Modifier and Type Field Description private java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. m_bndlListenersprivate java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. m_fwkListenersjava.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher.Request. m_listenersprivate java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. m_svcListenersprivate java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. m_syncBndlListenersMethods in org.apache.felix.framework.util that return BundleContext Modifier and Type Method Description BundleContextListenerInfo. getBundleContext()Methods in org.apache.felix.framework.util that return types with arguments of type BundleContext Modifier and Type Method Description private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. addListenerInfo(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, ListenerInfo info)private <T> java.util.Set<BundleContext>EventDispatcher. createWhitelistFromHooks(java.util.EventObject event, Framework felix, java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners1, java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners2, java.lang.Class<T> hookClass)private java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. filterListenersUsingHooks(ServiceEvent event, Framework felix, java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners)private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. removeListenerInfo(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, BundleContext bc, int idx)private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. removeListenerInfos(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, BundleContext bc)private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. updateListenerInfo(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, int idx, ListenerInfo info)Methods in org.apache.felix.framework.util with parameters of type BundleContext Modifier and Type Method Description FilterEventDispatcher. addListener(BundleContext bc, java.lang.Class clazz, java.util.EventListener l, Filter filter)voidSecureAction. invokeBundleFindHook(FindHook fh, BundleContext bc, java.util.Collection<Bundle> bundles)voidSecureAction. invokeServiceFindHook(FindHook fh, BundleContext context, java.lang.String name, java.lang.String filter, boolean allServices, java.util.Collection<ServiceReference<?>> references)ListenerHook.ListenerInfoEventDispatcher. removeListener(BundleContext bc, java.lang.Class clazz, java.util.EventListener l)private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. removeListenerInfo(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, BundleContext bc, int idx)private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. removeListenerInfos(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, BundleContext bc)voidEventDispatcher. removeListeners(BundleContext bc)voidSecureAction. startActivator(BundleActivator activator, BundleContext context)voidSecureAction. stopActivator(BundleActivator activator, BundleContext context)FilterEventDispatcher. updateListener(BundleContext bc, java.lang.Class clazz, java.util.EventListener l, Filter filter)Method parameters in org.apache.felix.framework.util with type arguments of type BundleContext Modifier and Type Method Description private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. addListenerInfo(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, ListenerInfo info)private <T> java.util.Set<BundleContext>EventDispatcher. createWhitelistFromHooks(java.util.EventObject event, Framework felix, java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners1, java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners2, java.lang.Class<T> hookClass)private java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. filterListenersUsingHooks(ServiceEvent event, Framework felix, java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners)private static voidEventDispatcher. fireEventAsynchronously(EventDispatcher dispatcher, int type, java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, java.util.EventObject event)private static voidEventDispatcher. fireEventImmediately(EventDispatcher dispatcher, int type, java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, java.util.EventObject event, java.util.Dictionary oldProps)voidSecureAction. invokeBundleEventHook(EventHook eh, BundleEvent event, java.util.Collection<BundleContext> contexts)voidSecureAction. invokeServiceEventHook(EventHook eh, ServiceEvent event, java.util.Collection<BundleContext> contexts)voidSecureAction. invokeServiceEventListenerHook(EventListenerHook elh, ServiceEvent event, java.util.Map<BundleContext,java.util.Collection<ListenerHook.ListenerInfo>> listeners)private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. removeListenerInfo(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, BundleContext bc, int idx)private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. removeListenerInfos(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, BundleContext bc)private static java.util.Map<BundleContext,java.util.List<ListenerInfo>>EventDispatcher. updateListenerInfo(java.util.Map<BundleContext,java.util.List<ListenerInfo>> listeners, int idx, ListenerInfo info)Constructors in org.apache.felix.framework.util with parameters of type BundleContext Constructor Description ListenerInfo(Bundle bundle, BundleContext context, java.lang.Class listenerClass, java.util.EventListener listener, Filter filter, java.lang.Object acc, boolean removed) -
Uses of BundleContext in org.osgi.framework
Methods in org.osgi.framework that return BundleContext Modifier and Type Method Description BundleContextBundle. getBundleContext()Returns this bundle'sBundleContext.Methods in org.osgi.framework with parameters of type BundleContext Modifier and Type Method Description voidBundleActivator. start(BundleContext context)Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start this bundle.voidBundleActivator. 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.bundle
Methods in org.osgi.framework.hooks.bundle with parameters of type BundleContext Modifier and Type Method Description voidFindHook. find(BundleContext context, java.util.Collection<Bundle> bundles)Find hook method.Method parameters in org.osgi.framework.hooks.bundle with type arguments of type BundleContext Modifier and Type Method Description voidEventHook. event(BundleEvent event, java.util.Collection<BundleContext> contexts)Bundle event hook method. -
Uses of BundleContext in org.osgi.framework.hooks.service
Methods in org.osgi.framework.hooks.service that return BundleContext Modifier and Type Method Description BundleContextListenerHook.ListenerInfo. getBundleContext()Return the context of the bundle which added the listener.Methods in org.osgi.framework.hooks.service with parameters of type BundleContext Modifier and Type Method Description voidFindHook. find(BundleContext context, java.lang.String name, java.lang.String filter, boolean allServices, java.util.Collection<ServiceReference<?>> references)Find hook method.Method parameters in org.osgi.framework.hooks.service with type arguments of type BundleContext Modifier and Type Method Description voidEventHook. event(ServiceEvent event, java.util.Collection<BundleContext> contexts)Deprecated.Event hook method.voidEventListenerHook. event(ServiceEvent event, java.util.Map<BundleContext,java.util.Collection<ListenerHook.ListenerInfo>> listeners)Event listener hook method. -
Uses of BundleContext in org.osgi.util.tracker
Fields in org.osgi.util.tracker declared as BundleContext Modifier and Type Field Description protected BundleContextBundleTracker. contextThe Bundle Context used by thisBundleTracker.protected BundleContextServiceTracker. contextThe Bundle Context used by thisServiceTracker.Constructors in org.osgi.util.tracker with parameters of type BundleContext Constructor Description BundleTracker(BundleContext context, int stateMask, BundleTrackerCustomizer<T> customizer)Create aBundleTrackerfor bundles whose state is present in the specified state mask.ServiceTracker(BundleContext context, java.lang.Class<S> clazz, ServiceTrackerCustomizer<S,T> customizer)Create aServiceTrackeron the specified class.ServiceTracker(BundleContext context, java.lang.String clazz, ServiceTrackerCustomizer<S,T> customizer)Create aServiceTrackeron the specified class name.ServiceTracker(BundleContext context, Filter filter, ServiceTrackerCustomizer<S,T> customizer)Create aServiceTrackeron the specifiedFilterobject.ServiceTracker(BundleContext context, ServiceReference<S> reference, ServiceTrackerCustomizer<S,T> customizer)Create aServiceTrackeron the specifiedServiceReference.
-