August 2001
Intermediate to advanced
480 pages
9h 14m
English
public interface ServiceRegistration
A registered service. The framework returns a ServiceRegistration object when a BundleContext.registerService(String[], Object, Dictionary) method is successful. This object is for the private use of the registering bundle and should not be shared with other bundles.
The ServiceRegistration object may be used to update the properties for the service or to unregister the service.
If the ServiceRegistration is garbage collected the framework may remove the service. This implies that if a bundle wants to keep its service registered, it should keep the ServiceRegistration object referenced.
| Member Summary | |
|---|---|
| Methods | |
| public ServiceReference | getReference() |
| Returns a ServiceReference ... | |
Read now
Unlock full access