| Package | Description |
|---|---|
| org.apache.felix.framework | |
| org.osgi.framework |
Framework Package Version 1.8.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ServiceRegistrationImpl |
| Modifier and Type | Field and Description |
|---|---|
private ServiceRegistration<PackageAdmin> |
FrameworkWiringImpl.m_paReg |
private ServiceRegistration<StartLevel> |
FrameworkStartLevelImpl.m_slReg |
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.ConcurrentMap<Bundle,java.util.List<ServiceRegistration<?>>> |
ServiceRegistry.m_regsMap |
| Modifier and Type | Method and Description |
|---|---|
(package private) ServiceRegistration |
Felix.registerService(BundleContextImpl context,
java.lang.String[] classNames,
java.lang.Object svcObj,
java.util.Dictionary dict)
Implementation for BundleContext.registerService().
|
ServiceRegistration<?> |
ServiceRegistry.registerService(Bundle bundle,
java.lang.String[] classNames,
java.lang.Object svcObj,
java.util.Dictionary<?,?> dict)
Register a new service
Caller must fire service event as this method is not doing it!
|
<S> ServiceRegistration<S> |
BundleContextImpl.registerService(java.lang.Class<S> clazz,
S svcObj,
java.util.Dictionary<java.lang.String,?> dict) |
<S> ServiceRegistration<S> |
BundleContextImpl.registerService(java.lang.Class<S> clazz,
ServiceFactory<S> factory,
java.util.Dictionary<java.lang.String,?> properties) |
ServiceRegistration<?> |
BundleContextImpl.registerService(java.lang.String[] clazzes,
java.lang.Object svcObj,
java.util.Dictionary<java.lang.String,?> dict) |
ServiceRegistration<?> |
BundleContextImpl.registerService(java.lang.String clazz,
java.lang.Object svcObj,
java.util.Dictionary<java.lang.String,?> dict) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
ServiceRegistry.servicePropertiesModified(ServiceRegistration<?> reg,
java.util.Dictionary<?,?> oldProps) |
void |
ServiceRegistry.unregisterService(Bundle bundle,
ServiceRegistration<?> reg)
Unregister a service
|
| 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 |
PrototypeServiceFactory.getService(Bundle bundle,
ServiceRegistration<S> registration)
Returns a service object for a caller.
|
S |
ServiceFactory.getService(Bundle bundle,
ServiceRegistration<S> registration)
Returns a service object for a bundle.
|
void |
PrototypeServiceFactory.ungetService(Bundle bundle,
ServiceRegistration<S> registration,
S service)
Releases a service object customized for a caller.
|
void |
ServiceFactory.ungetService(Bundle bundle,
ServiceRegistration<S> registration,
S service)
Releases a service object customized for a bundle.
|