public class SingleRefPair<S,T> extends RefPair<S,T>
| Constructor and Description |
|---|
SingleRefPair(org.osgi.framework.ServiceReference<T> ref) |
| Modifier and Type | Method and Description |
|---|---|
T |
getServiceObject(ComponentContextImpl<S> key) |
boolean |
getServiceObject(ComponentContextImpl<S> key,
org.osgi.framework.BundleContext context) |
boolean |
setServiceObject(ComponentContextImpl<S> key,
T serviceObject) |
String |
toString() |
T |
ungetServiceObject(ComponentContextImpl<S> key) |
void |
ungetServiceObjects(org.osgi.framework.BundleContext bundleContext) |
public SingleRefPair(org.osgi.framework.ServiceReference<T> ref)
public T getServiceObject(ComponentContextImpl<S> key)
getServiceObject in class RefPair<S,T>public boolean setServiceObject(ComponentContextImpl<S> key, T serviceObject)
setServiceObject in class RefPair<S,T>public T ungetServiceObject(ComponentContextImpl<S> key)
ungetServiceObject in class RefPair<S,T>public void ungetServiceObjects(org.osgi.framework.BundleContext bundleContext)
ungetServiceObjects in class RefPair<S,T>public boolean getServiceObject(ComponentContextImpl<S> key, org.osgi.framework.BundleContext context)
getServiceObject in class RefPair<S,T>Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.