Package | Description |
---|---|
org.eclipse.osgi.internal.serviceregistry |
Modifier and Type | Method and Description |
---|---|
ServiceReferenceImpl<?>[] |
ServiceRegistry.getRegisteredServices(BundleContextImpl context)
Returns this bundle's
ServiceReference list for all
services it has registered or null if this bundle has no
registered services. |
ServiceReferenceImpl<?> |
ServiceRegistry.getServiceReference(BundleContextImpl context,
String clazz)
Returns a
ServiceReference object for a service that
implements and was registered under the specified class. |
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. |
ServiceReferenceImpl<?>[] |
ServiceRegistry.getServicesInUse(BundleContextImpl context)
Returns this bundle's
ServiceReference list for all
services it is using or returns null if this bundle is not
using any services. |
Modifier and Type | Method and Description |
---|---|
Object |
ServiceRegistry.getService(BundleContextImpl context,
ServiceReferenceImpl<?> reference)
Returns the specified service object for a service.
|
boolean |
ServiceRegistry.ungetService(BundleContextImpl context,
ServiceReferenceImpl<?> reference)
Releases the service object referenced by the specified
ServiceReference object. |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.