| Package | Description |
|---|---|
| org.osgi.framework |
Framework Package Version 1.10.
|
| org.osgi.framework.hooks.bundle |
Framework Bundle Hooks Package Version 1.1.
|
| org.osgi.framework.hooks.service |
Framework Service Hooks Package Version 1.1.
|
| 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,
java.util.Collection<Bundle> bundles)
Find hook method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventHook.event(BundleEvent event,
java.util.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,
java.lang.String name,
java.lang.String filter,
boolean allServices,
java.util.Collection<ServiceReference<?>> references)
Find hook method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventHook.event(ServiceEvent event,
java.util.Collection<BundleContext> contexts)
Deprecated.
Event hook method.
|
void |
EventListenerHook.event(ServiceEvent event,
java.util.Map<BundleContext,java.util.Collection<ListenerHook.ListenerInfo>> listeners)
Event listener hook method.
|
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0