Package | Description |
---|---|
org.apache.felix.framework | |
org.osgi.framework |
Modifier and Type | Method and Description |
---|---|
ServiceRegistration |
ServiceRegistry.registerService(BundleContext context,
String[] classNames,
Object svcObj,
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(Class<S> clazz,
S service,
Dictionary<String,?> properties)
Registers the specified service object with the specified properties
under the name of the specified class with the Framework.
|
ServiceRegistration<?> |
BundleContext.registerService(String[] clazzes,
Object service,
Dictionary<String,?> properties)
Registers the specified service object with the specified properties
under the specified class names into the Framework.
|
ServiceRegistration<?> |
BundleContext.registerService(String clazz,
Object service,
Dictionary<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 © 2006-2015 The Apache Software Foundation. All Rights Reserved.