Interface ServiceAndServiceReferencePair<T>
-
- Type Parameters:
T- The type of the Service
public interface ServiceAndServiceReferencePair<T>A simple interface to associate a DS instance of a Service, with the ServiceReference that created it.
Handy for when you want to query properties on the ServiceReference for a given Service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetService()Get the Service instance for this pair.org.osgi.framework.ServiceReference<T>getServiceReference()Get the ServiceReference instance for this pair.
-