| Package | Description |
|---|---|
| org.apache.felix.framework | |
| org.osgi.framework |
Framework Package Version 1.8.
|
| org.osgi.util.tracker |
Tracker Package Version 1.5.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
Felix.addServiceListener(BundleImpl bundle,
ServiceListener l,
java.lang.String f)
Implementation for BundleContext.addServiceListener().
|
void |
BundleContextImpl.addServiceListener(ServiceListener l) |
void |
BundleContextImpl.addServiceListener(ServiceListener l,
java.lang.String s) |
(package private) void |
Felix.removeServiceListener(BundleImpl bundle,
ServiceListener l)
Implementation for BundleContext.removeServiceListener().
|
void |
BundleContextImpl.removeServiceListener(ServiceListener l) |
| Modifier and Type | Interface and 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 and 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. |
| Modifier and Type | Class and Description |
|---|---|
private class |
ServiceTracker.AllTracked
Subclass of Tracked which implements the AllServiceListener interface.
|
private class |
ServiceTracker.Tracked
Inner class which subclasses AbstractTracked.
|