Package | Description |
---|---|
org.osgi.framework |
Framework Package Version 1.9.
|
org.osgi.util.tracker |
Tracker Package Version 1.5.
|
Modifier and Type | Method and Description |
---|---|
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. |
static Filter |
FrameworkUtil.createFilter(java.lang.String filter)
Creates a
Filter object. |
Filter |
BundleContext.createFilter(java.lang.String filter)
Creates a
Filter object. |
ServiceReference<?>[] |
BundleContext.getAllServiceReferences(java.lang.String clazz,
java.lang.String filter)
Returns an array of
ServiceReference objects. |
<S> java.util.Collection<ServiceReference<S>> |
BundleContext.getServiceReferences(java.lang.Class<S> clazz,
java.lang.String filter)
Returns a collection of
ServiceReference objects. |
ServiceReference<?>[] |
BundleContext.getServiceReferences(java.lang.String clazz,
java.lang.String filter)
Returns an array of
ServiceReference objects. |
(package private) static FrameworkUtil.FilterImpl |
FrameworkUtil.FilterImpl.newInstance(java.lang.String filterString)
Constructs a
FrameworkUtil.FilterImpl object. |
private FrameworkUtil.FilterImpl |
FrameworkUtil.FilterImpl.Parser.parse_and() |
private java.lang.String |
FrameworkUtil.FilterImpl.Parser.parse_attr() |
private FrameworkUtil.FilterImpl |
FrameworkUtil.FilterImpl.Parser.parse_filter() |
private FrameworkUtil.FilterImpl |
FrameworkUtil.FilterImpl.Parser.parse_filtercomp() |
private FrameworkUtil.FilterImpl |
FrameworkUtil.FilterImpl.Parser.parse_item() |
private FrameworkUtil.FilterImpl |
FrameworkUtil.FilterImpl.Parser.parse_not() |
private FrameworkUtil.FilterImpl |
FrameworkUtil.FilterImpl.Parser.parse_or() |
private java.lang.Object |
FrameworkUtil.FilterImpl.Parser.parse_substring() |
private java.lang.String |
FrameworkUtil.FilterImpl.Parser.parse_value() |
(package private) FrameworkUtil.FilterImpl |
FrameworkUtil.FilterImpl.Parser.parse() |
Modifier and Type | Method and Description |
---|---|
private ServiceReference<S>[] |
ServiceTracker.getInitialReferences(boolean trackAllServices,
java.lang.String className,
java.lang.String filterString)
Returns the list of initial
ServiceReference s that will be
tracked by this ServiceTracker . |