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.
Handy for when you want to query properties on the ServiceReference for a given Service.
-
Method Summary
Modifier and TypeMethodDescriptionGet the Service instance for this pair.org.osgi.framework.ServiceReference<T>
Get the ServiceReference instance for this pair.