|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServiceReference | |
---|---|
org.osgi.framework | |
org.osgi.service.log |
Uses of ServiceReference in org.osgi.framework |
---|
Methods in org.osgi.framework that return ServiceReference | |
---|---|
ServiceReference |
ServiceRegistration.getReference()
Returns a ServiceReference object for a service being registered. |
ServiceReference[] |
Bundle.getRegisteredServices()
Returns this bundle's ServiceReference list for all services it has registered or null if this bundle has no registered services. |
ServiceReference |
ServiceEvent.getServiceReference()
Returns a reference to the service that had a change occur in its lifecycle. |
ServiceReference |
BundleContext.getServiceReference(java.lang.String clazz)
Returns a ServiceReference object for a service that implements, and was registered under, the specified class. |
ServiceReference[] |
BundleContext.getServiceReferences(java.lang.String clazz,
java.lang.String filter)
Returns a list of ServiceReference objects. |
ServiceReference[] |
Bundle.getServicesInUse()
Returns this bundle's ServiceReference list for all services it is using or returns null if this bundle is not using any services. |
Methods in org.osgi.framework with parameters of type ServiceReference | |
---|---|
java.lang.Object |
BundleContext.getService(ServiceReference reference)
Returns the specified service object for a service. |
boolean |
Filter.match(ServiceReference reference)
Filter using a service's properties. |
boolean |
BundleContext.ungetService(ServiceReference reference)
Releases the service object referenced by the specified ServiceReference object. |
Constructors in org.osgi.framework with parameters of type ServiceReference | |
---|---|
ServiceEvent(int type,
ServiceReference reference)
Creates a new service event object. |
Uses of ServiceReference in org.osgi.service.log |
---|
Methods in org.osgi.service.log that return ServiceReference | |
---|---|
ServiceReference |
LogEntry.getServiceReference()
Returns the ServiceReference object for the service associated with this LogEntry object. |
Methods in org.osgi.service.log with parameters of type ServiceReference | |
---|---|
void |
LogService.log(ServiceReference sr,
int level,
java.lang.String message)
Logs a message associated with a specific ServiceReference object. |
void |
LogService.log(ServiceReference sr,
int level,
java.lang.String message,
java.lang.Throwable exception)
Logs a message with an exception associated and a ServiceReference object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |