com.ibm.wsspi.kernel.service.utils

Interface ServiceAndServiceReferencePair<T>

Type Parameters:
T - The type of the Service

  1. 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

Modifier and Type Method and Description
  1. T
getService()
Get the Service instance for this pair.
getServiceReference()
Get the ServiceReference instance for this pair.

Method Detail

getService

  1. T getService()
Get the Service instance for this pair.
Returns:

getServiceReference

  1. getServiceReference()
Get the ServiceReference instance for this pair.
Returns: