Modifier and Type | Method and Description |
---|---|
ServiceRegistration |
ServiceRegistry.registerService(BundleContext context,
String[] classNames,
Object svcObj,
Dictionary dict) |
protected void |
Logger.setSystemBundleContext(BundleContext context) |
Modifier and Type | Interface and Description |
---|---|
interface |
FelixBundleContext |
Modifier and Type | Method and Description |
---|---|
BundleContext |
ListenerInfo.getBundleContext() |
Modifier and Type | Method and Description |
---|---|
Filter |
EventDispatcher.addListener(BundleContext bc,
Class clazz,
EventListener l,
Filter filter) |
void |
SecureAction.invokeBundleFindHook(FindHook fh,
BundleContext bc,
Collection<Bundle> bundles) |
void |
SecureAction.invokeServiceFindHook(FindHook fh,
BundleContext context,
String name,
String filter,
boolean allServices,
Collection<ServiceReference<?>> references) |
ListenerHook.ListenerInfo |
EventDispatcher.removeListener(BundleContext bc,
Class clazz,
EventListener l) |
void |
EventDispatcher.removeListeners(BundleContext bc) |
void |
SecureAction.startActivator(BundleActivator activator,
BundleContext context) |
void |
SecureAction.stopActivator(BundleActivator activator,
BundleContext context) |
Filter |
EventDispatcher.updateListener(BundleContext bc,
Class clazz,
EventListener l,
Filter filter) |
Modifier and Type | Method and Description |
---|---|
void |
SecureAction.invokeBundleEventHook(EventHook eh,
BundleEvent event,
Collection<BundleContext> contexts) |
void |
SecureAction.invokeServiceEventHook(EventHook eh,
ServiceEvent event,
Collection<BundleContext> contexts) |
void |
SecureAction.invokeServiceEventListenerHook(EventListenerHook elh,
ServiceEvent event,
Map<BundleContext,Collection<ListenerHook.ListenerInfo>> listeners) |
Constructor and Description |
---|
ListenerInfo(Bundle bundle,
BundleContext context,
Class listenerClass,
EventListener listener,
Filter filter,
Object acc,
boolean removed) |
Modifier and Type | Method and Description |
---|---|
static BundleContext |
EclipseStarter.getSystemBundleContext()
Returns the context of the system bundle.
|
static BundleContext |
EclipseStarter.startup(String[] args,
Runnable endSplashHandler)
Starts the platform and sets it up to run a single application.
|
Modifier and Type | Method and Description |
---|---|
static SAXParserFactory |
PluginParser.acquireXMLParsing(BundleContext context) |
void |
EclipseLazyStarter.frameworkStart(BundleContext context) |
void |
EclipseLogHook.frameworkStart(BundleContext context) |
void |
EclipseAdaptorHook.frameworkStart(BundleContext context) |
void |
EclipseErrorHandler.frameworkStart(BundleContext context) |
void |
EclipseLazyStarter.frameworkStop(BundleContext context) |
void |
EclipseLogHook.frameworkStop(BundleContext context) |
void |
EclipseAdaptorHook.frameworkStop(BundleContext context) |
void |
EclipseErrorHandler.frameworkStop(BundleContext context) |
void |
EclipseLazyStarter.frameworkStopping(BundleContext context) |
void |
EclipseLogHook.frameworkStopping(BundleContext context) |
void |
EclipseAdaptorHook.frameworkStopping(BundleContext context) |
void |
EclipseErrorHandler.frameworkStopping(BundleContext context) |
Constructor and Description |
---|
EclipseAppLauncher(BundleContext context,
boolean relaunch,
boolean failOnNoDefault,
FrameworkLog log) |
EclipseCommandProvider(BundleContext context) |
PluginConverterImpl(FrameworkAdaptor adaptor,
BundleContext context) |
PluginParser(FrameworkAdaptor adaptor,
BundleContext context,
Version target) |
Modifier and Type | Method and Description |
---|---|
void |
LogServiceManager.start(BundleContext context) |
void |
LogServiceManager.stop(BundleContext context) |
Constructor and Description |
---|
EventAdminAdapter(BundleContext context,
ExtendedLogReaderServiceFactory logReaderServiceFactory) |
Modifier and Type | Method and Description |
---|---|
BundleContext |
BaseAdaptor.getContext()
Returns the system bundle's context
|
Modifier and Type | Method and Description |
---|---|
void |
BaseAdaptor.frameworkStart(BundleContext fwContext)
This method calls all the configured adaptor hook
AdaptorHook.frameworkStart(BundleContext) methods. |
void |
BaseAdaptor.frameworkStop(BundleContext fwContext)
This method calls all the configured adaptor hook
AdaptorHook.frameworkStop(BundleContext) methods. |
void |
BaseAdaptor.frameworkStopping(BundleContext fwContext)
This method calls all the configured adaptor hook
AdaptorHook.frameworkStopping(BundleContext) methods. |
Modifier and Type | Method and Description |
---|---|
void |
AdaptorHook.frameworkStart(BundleContext context)
Gets called by the adaptor during
FrameworkAdaptor.frameworkStart(BundleContext) . |
void |
AdaptorHook.frameworkStop(BundleContext context)
Gets called by the adaptor during
FrameworkAdaptor.frameworkStop(BundleContext) . |
void |
AdaptorHook.frameworkStopping(BundleContext context)
Gets called by the adaptor during
FrameworkAdaptor.frameworkStopping(BundleContext) . |
Modifier and Type | Method and Description |
---|---|
void |
FrameworkAdaptor.frameworkStart(BundleContext context)
The framework will call this method after the
System BundleActivator.start(BundleContext) has been called.
|
void |
FrameworkAdaptor.frameworkStop(BundleContext context)
The framework will call this method before the
System BundleActivator.stop(BundleContext) has been called.
|
void |
FrameworkAdaptor.frameworkStopping(BundleContext context)
The framework will call this method before the process of framework
shutdown is started.
|
Modifier and Type | Method and Description |
---|---|
void |
FrameworkDebugOptions.start(BundleContext bc) |
void |
FrameworkDebugOptions.stop(BundleContext bc) |
Modifier and Type | Class and Description |
---|---|
class |
BundleContextImpl
Bundle's execution context.
|
Modifier and Type | Method and Description |
---|---|
BundleContext |
AbstractBundle.getBundleContext() |
BundleContext |
EquinoxLauncher.getBundleContext() |
Modifier and Type | Method and Description |
---|---|
static Collection<BundleContext> |
Framework.asBundleContexts(Collection<? extends BundleContext> c)
Coerce the generic type of a collection from Collection
|
Modifier and Type | Method and Description |
---|---|
protected AbstractBundle |
Framework.installWorker(String location,
PrivilegedExceptionAction<AbstractBundle> action,
BundleContext origin)
Worker method to install a bundle.
|
void |
SystemBundleActivator.start(BundleContext bc) |
void |
BundleResourceHandler.start(BundleContext context,
FrameworkAdaptor baseAdaptor) |
void |
SystemBundleActivator.stop(BundleContext bc) |
Modifier and Type | Method and Description |
---|---|
static Collection<BundleContext> |
Framework.asBundleContexts(Collection<? extends BundleContext> c)
Coerce the generic type of a collection from Collection
|
Constructor and Description |
---|
FrameworkConsole(BundleContext context,
ConsoleSession consoleSession,
boolean isSystemInOut,
ServiceTracker<CommandProvider,CommandProvider> cptracker) |
Modifier and Type | Field and Description |
---|---|
protected BundleContext |
ContentHandlerProxy.context |
protected BundleContext |
URLStreamHandlerProxy.context |
protected BundleContext |
MultiplexingFactory.context |
Modifier and Type | Method and Description |
---|---|
void |
ProtocolActivator.start(BundleContext context,
FrameworkAdaptor adaptor) |
Constructor and Description |
---|
ContentHandlerFactory(BundleContext context,
FrameworkAdaptor adaptor) |
ContentHandlerProxy(String contentType,
ServiceReference<ContentHandler> reference,
BundleContext context) |
StreamHandlerFactory(BundleContext context,
FrameworkAdaptor adaptor)
Create the factory.
|
URLStreamHandlerFactoryProxyFor15(String protocol,
ServiceReference<URLStreamHandlerService> reference,
BundleContext context) |
URLStreamHandlerProxy(String protocol,
ServiceReference<URLStreamHandlerService> reference,
BundleContext context) |
Modifier and Type | Method and Description |
---|---|
<S> S |
SecureAction.getService(ServiceReference<S> reference,
BundleContext context)
Gets a service object.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseStorage.frameworkStart(BundleContext fwContext) |
void |
BaseStorageHook.frameworkStart(BundleContext context) |
void |
BaseStorage.frameworkStop(BundleContext fwContext) |
void |
BaseStorageHook.frameworkStop(BundleContext context) |
void |
BaseStorage.frameworkStopping(BundleContext fwContext) |
void |
BaseStorageHook.frameworkStopping(BundleContext context) |
static ServiceRegistration<?> |
AdaptorUtil.register(String name,
Object service,
BundleContext context)
Register a service object.
|
Constructor and Description |
---|
StateManager(File stateFile,
File lazyFile,
BundleContext context)
Constructs a StateManager using the specified files and context
|
StateManager(File stateFile,
File lazyFile,
BundleContext context,
long expectedTimeStamp)
Constructs a StateManager using the specified files and context
|
Modifier and Type | Method and Description |
---|---|
BundleContext |
SurrogateImpl.getCompositeBundleContext() |
Modifier and Type | Method and Description |
---|---|
void |
CompositeConfigurator.frameworkStart(BundleContext context) |
void |
CompositeConfigurator.frameworkStop(BundleContext context) |
void |
CompositeConfigurator.frameworkStopping(BundleContext context) |
Modifier and Type | Method and Description |
---|---|
void |
PolicyHandler.close(BundleContext context) |
void |
PolicyHandler.open(BundleContext context) |
Constructor and Description |
---|
AuthorizationEngine(BundleContext context) |
Modifier and Type | Method and Description |
---|---|
SystemState |
StateObjectFactoryImpl.createSystemState(BundleContext context) |
SystemState |
StateObjectFactoryImpl.readSystemState(BundleContext context,
File stateFile,
File lazyFile,
boolean lazyLoad,
long expectedTimeStamp) |
Constructor and Description |
---|
SystemState(BundleContext context) |
Constructor and Description |
---|
DefaultAuthorizationEngine(BundleContext context,
State systemState) |
Modifier and Type | Method and Description |
---|---|
void |
SignedBundleHook.frameworkStart(BundleContext context) |
void |
SignedBundleHook.frameworkStop(BundleContext context) |
void |
SignedBundleHook.frameworkStopping(BundleContext context) |
Modifier and Type | Method and Description |
---|---|
BundleContext |
Equinox.getBundleContext() |
Modifier and Type | Method and Description |
---|---|
BundleContext |
Bundle.getBundleContext()
Returns this bundle's
BundleContext . |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
FindHook.find(BundleContext context,
Collection<Bundle> bundles)
Find hook method.
|
Modifier and Type | Method and Description |
---|---|
void |
EventHook.event(BundleEvent event,
Collection<BundleContext> contexts)
Bundle event hook method.
|
Modifier and Type | Method and Description |
---|---|
BundleContext |
ListenerHook.ListenerInfo.getBundleContext()
Return the context of the bundle which added the listener.
|
Modifier and Type | Method and Description |
---|---|
void |
FindHook.find(BundleContext context,
String name,
String filter,
boolean allServices,
Collection<ServiceReference<?>> references)
Find hook method.
|
Modifier and Type | Method and Description |
---|---|
void |
EventHook.event(ServiceEvent event,
Collection<BundleContext> contexts)
Deprecated.
Event hook method.
|
void |
EventListenerHook.event(ServiceEvent event,
Map<BundleContext,Collection<ListenerHook.ListenerInfo>> listeners)
Event listener hook method.
|
Modifier and Type | Method and Description |
---|---|
BundleContext |
SurrogateBundle.getCompositeBundleContext()
Deprecated.
Returns the bundle context of the associated composite bundle.
|
Modifier and Type | Field and Description |
---|---|
protected BundleContext |
BundleTracker.context
The Bundle Context used by this
BundleTracker . |
protected BundleContext |
ServiceTracker.context
The Bundle Context used by this
ServiceTracker . |
Constructor and Description |
---|
BundleTracker(BundleContext context,
int stateMask,
BundleTrackerCustomizer<T> customizer)
Create a
BundleTracker for bundles whose state is present in the
specified state mask. |
ServiceTracker(BundleContext context,
Class<S> clazz,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified class. |
ServiceTracker(BundleContext context,
Filter filter,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified Filter object. |
ServiceTracker(BundleContext context,
ServiceReference<S> reference,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified ServiceReference
. |
ServiceTracker(BundleContext context,
String clazz,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified class name. |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.