Class ServicePair<T>
- java.lang.Object
-
- org.apache.aries.util.service.registry.ServicePair<T>
-
public class ServicePair<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServicePair(BundleContext context, ServiceReference serviceRef)
ServicePair(BundleContext context, ServiceReference serviceRef, T service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
ServiceReference
getReference()
boolean
isValid()
void
unget()
-
-
-
Constructor Detail
-
ServicePair
public ServicePair(BundleContext context, ServiceReference serviceRef)
-
ServicePair
public ServicePair(BundleContext context, ServiceReference serviceRef, T service)
-
-
Method Detail
-
get
public T get()
-
isValid
public boolean isValid()
-
unget
public void unget()
-
getReference
public ServiceReference getReference()
-
-