| 
OSGi™ Core Release 6  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ServiceRegistration | |
|---|---|
| org.osgi.framework | Framework Package Version 1.8. | 
| Uses of ServiceRegistration in org.osgi.framework | 
|---|
| Methods in org.osgi.framework that return ServiceRegistration | ||
|---|---|---|
 | 
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.  | 
|
 | 
BundleContext.registerService(Class<S> clazz,
                ServiceFactory<S> factory,
                Dictionary<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(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.  | 
|
| Methods in org.osgi.framework with parameters of type ServiceRegistration | |
|---|---|
 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.  | 
  | 
OSGi™ Core Release 6  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||