Compares this reference to another.
other service reference
A number whose sign indicates the relative order of the two services: negative if this service is less than that service, positive if this service is greater than that service, and zero if they are equal.
Tests wether this reference is equal to another.
other reference.
Gets the bundle which registered this service reference.
The id of the service.
The interfaces provided by this service.
Provides the service metadata.
Provides a single service metadata entry.
The type of the entry.
The key of the entry.
OptionalignoreCase: booleanIf true, the key is compared case insensitive.
Gets all service metadata keys.
The ranking of this service. If services provide the same interfaces, the ranking specifies which will be preferred. A higher ranking is preferred over a lower ranking. The default ranking value is 0. In case that that services have the same interface and the same ranking value, the service registered first is preferred.
Provides access to all bundles currently using the service.
Returns true if the service is no longer available, false otherwise.
A service reference provides access to service metadata.