Package | Description |
---|---|
org.apache.felix.framework | |
org.eclipse.osgi.framework.internal.core | |
org.eclipse.osgi.internal.resolver | |
org.eclipse.osgi.internal.serviceregistry | |
org.eclipse.osgi.service.resolver |
Provides the Equinox resolver API.
|
org.osgi.framework |
Framework Package Version 1.7.
|
Constructor and Description |
---|
FilterImpl(String filterStr) |
Modifier and Type | Method and Description |
---|---|
void |
BundleContextImpl.addServiceListener(ServiceListener listener,
String filter)
Add a service listener with a filter.
|
Filter |
BundleContextImpl.createFilter(String filter)
Construct a Filter object.
|
ServiceReference<?>[] |
BundleContextImpl.getAllServiceReferences(String clazz,
String filter) |
<S> Collection<ServiceReference<S>> |
BundleContextImpl.getServiceReferences(Class<S> clazz,
String filter) |
ServiceReference<?>[] |
BundleContextImpl.getServiceReferences(String clazz,
String filter)
Returns a list of ServiceReference objects.
|
static FilterImpl |
FilterImpl.newInstance(String filterString)
Constructs a
FilterImpl object. |
Modifier and Type | Method and Description |
---|---|
GenericSpecification |
StateObjectFactoryImpl.createGenericSpecification(String name,
String type,
String matchingFilter,
boolean optional,
boolean multiple) |
NativeCodeDescription |
StateObjectFactoryImpl.createNativeCodeDescription(String[] nativePaths,
String[] processors,
String[] osNames,
VersionRange[] osVersions,
String[] languages,
String filter) |
Modifier and Type | Method and Description |
---|---|
void |
ServiceRegistry.addServiceListener(BundleContextImpl context,
ServiceListener listener,
String filter)
Add a new Service Listener for a bundle.
|
ServiceReferenceImpl<?>[] |
ServiceRegistry.getServiceReferences(BundleContextImpl context,
String clazz,
String filterstring,
boolean allservices)
This method performs the same function as calling
ServiceRegistry.getServiceReferences(BundleContextImpl, String, String, boolean, boolean) with a
true callHooks value. |
ServiceReferenceImpl<?>[] |
ServiceRegistry.getServiceReferences(BundleContextImpl context,
String clazz,
String filterstring,
boolean allservices,
boolean callHooks)
Returns an array of
ServiceReferenceImpl objects. |
Modifier and Type | Method and Description |
---|---|
GenericSpecification |
StateObjectFactory.createGenericSpecification(String name,
String type,
String matchingFilter,
boolean optional,
boolean multiple)
Creates a generic specification from the given parameters
|
NativeCodeDescription |
StateObjectFactory.createNativeCodeDescription(String[] nativePaths,
String[] processors,
String[] osNames,
VersionRange[] osVersions,
String[] languages,
String filter)
Creates a native code description from the given parameters
|
Modifier and Type | Method and Description |
---|---|
void |
BundleContext.addServiceListener(ServiceListener listener,
String filter)
Adds the specified
ServiceListener object with the specified
filter to the context bundle's list of listeners. |
Filter |
BundleContext.createFilter(String filter)
Creates a
Filter object. |
static Filter |
FrameworkUtil.createFilter(String filter)
Creates a
Filter object. |
ServiceReference<?>[] |
BundleContext.getAllServiceReferences(String clazz,
String filter)
Returns an array of
ServiceReference objects. |
<S> Collection<ServiceReference<S>> |
BundleContext.getServiceReferences(Class<S> clazz,
String filter)
Returns a collection of
ServiceReference objects. |
ServiceReference<?>[] |
BundleContext.getServiceReferences(String clazz,
String filter)
Returns an array of
ServiceReference objects. |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.