Uses of Interface
org.osgi.framework.ServiceRegistration
-
Packages that use ServiceRegistration Package Description org.apache.felix.framework org.osgi.framework Framework Package Version 1.8. -
-
Uses of ServiceRegistration in org.apache.felix.framework
Classes in org.apache.felix.framework that implement ServiceRegistration Modifier and Type Class Description (package private) class
ServiceRegistrationImpl
Fields in org.apache.felix.framework declared as ServiceRegistration Modifier and Type Field Description private ServiceRegistration<PackageAdmin>
FrameworkWiringImpl. m_paReg
private ServiceRegistration<StartLevel>
FrameworkStartLevelImpl. m_slReg
Fields in org.apache.felix.framework with type parameters of type ServiceRegistration Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<Bundle,java.util.List<ServiceRegistration<?>>>
ServiceRegistry. m_regsMap
Methods in org.apache.felix.framework that return ServiceRegistration Modifier and Type Method Description <S> ServiceRegistration<S>
BundleContextImpl. registerService(java.lang.Class<S> clazz, ServiceFactory<S> factory, java.util.Dictionary<java.lang.String,?> properties)
<S> ServiceRegistration<S>
BundleContextImpl. registerService(java.lang.Class<S> clazz, S svcObj, java.util.Dictionary<java.lang.String,?> dict)
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)
(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!Methods in org.apache.felix.framework with parameters of type ServiceRegistration Modifier and Type Method Description (package private) void
ServiceRegistry. servicePropertiesModified(ServiceRegistration<?> reg, java.util.Dictionary<?,?> oldProps)
void
ServiceRegistry. unregisterService(Bundle bundle, ServiceRegistration<?> reg)
Unregister a service -
Uses of ServiceRegistration in org.osgi.framework
Methods in org.osgi.framework that return ServiceRegistration Modifier and Type Method Description <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.<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.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.Methods in org.osgi.framework with parameters of type ServiceRegistration Modifier and Type Method 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.
-