| Package | Description |
|---|---|
| org.osgi.framework |
Framework Package Version 1.8.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
AllServiceListener |
A
ServiceEvent listener that does not filter based upon package
wiring. |
interface |
UnfilteredServiceListener |
A
ServiceEvent listener that does not filter based upon any
filter string specified to
BundleContext.addServiceListener(ServiceListener, String). |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BundleContext.addServiceListener(ServiceListener listener) |
Adds the specified
ServiceListener object to the context bundle's
list of listeners. |
void |
BundleContext.addServiceListener(ServiceListener listener,
java.lang.String filter) |
Adds the specified
ServiceListener object with the specified
filter to the context bundle's list of listeners. |
void |
BundleContext.removeServiceListener(ServiceListener listener) |
Removes the specified
ServiceListener object from the context
bundle's list of listeners. |