Package | Description |
---|---|
org.apache.felix.framework | |
org.osgi.framework |
Modifier and Type | Method and Description |
---|---|
ServiceRegistration |
ServiceRegistry.registerService(Bundle bundle,
java.lang.String[] classNames,
java.lang.Object svcObj,
java.util.Dictionary dict) |
Modifier and Type | Method and Description |
---|---|
void |
ServiceRegistry.unregisterService(Bundle bundle,
ServiceRegistration reg) |
Modifier and Type | Method and Description |
---|---|
<S> ServiceRegistration<S> |
BundleContext.registerService(java.lang.Class<S> clazz,
S service,
java.util.Dictionary<java.lang.String,?> properties)
Registers the specified service object with the specified properties
under the specified class name with the Framework.
|
ServiceRegistration<?> |
BundleContext.registerService(java.lang.String[] clazzes,
java.lang.Object service,
java.util.Dictionary<java.lang.String,?> properties)
Registers the specified service object with the specified properties
under the specified class names into the Framework.
|
ServiceRegistration<?> |
BundleContext.registerService(java.lang.String clazz,
java.lang.Object service,
java.util.Dictionary<java.lang.String,?> properties)
Registers the specified service object with the specified properties
under the specified class name with the Framework.
|
Modifier and Type | Method and Description |
---|---|
S |
ServiceFactory.getService(Bundle bundle,
ServiceRegistration<S> registration)
Creates a new service object.
|
void |
ServiceFactory.ungetService(Bundle bundle,
ServiceRegistration<S> registration,
S service)
Releases a service object.
|
Copyright © 2014. All Rights Reserved.