org.apache.aries.util.service.registry
Class ServicePair<T>
java.lang.Object
org.apache.aries.util.service.registry.ServicePair<T>
public class ServicePair<T>
- extends Object
|
Constructor Summary |
ServicePair(org.osgi.framework.BundleContext context,
org.osgi.framework.ServiceReference serviceRef)
|
ServicePair(org.osgi.framework.BundleContext context,
org.osgi.framework.ServiceReference serviceRef,
T service)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicePair
public ServicePair(org.osgi.framework.BundleContext context,
org.osgi.framework.ServiceReference serviceRef)
ServicePair
public ServicePair(org.osgi.framework.BundleContext context,
org.osgi.framework.ServiceReference serviceRef,
T service)
get
public T get()
isValid
public boolean isValid()
unget
public void unget()
getReference
public org.osgi.framework.ServiceReference getReference()
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.