Package | Description |
---|---|
org.osgi.framework |
Framework Package Version 1.10.
|
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 name of the specified class with the Framework.
|
<S> ServiceRegistration<S> |
BundleContext.registerService(java.lang.Class<S> clazz,
ServiceFactory<S> factory,
java.util.Dictionary<java.lang.String,?> properties)
Registers the specified service factory object with the specified
properties under the name of the specified class 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)
Returns a service object for a bundle.
|
S |
PrototypeServiceFactory.getService(Bundle bundle,
ServiceRegistration<S> registration)
Returns a service object for a caller.
|
void |
ServiceFactory.ungetService(Bundle bundle,
ServiceRegistration<S> registration,
S service)
Releases a service object customized for a bundle.
|
void |
PrototypeServiceFactory.ungetService(Bundle bundle,
ServiceRegistration<S> registration,
S service)
Releases a service object customized for a caller.
|
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0