public class SinglePrototypeRefPair<S,T> extends AbstractPrototypeRefPair<S,T>
| Constructor and Description |
|---|
SinglePrototypeRefPair(org.osgi.framework.ServiceReference<T> ref) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Map.Entry<ComponentContextImpl<S>,T>> |
clearEntries() |
T |
getServiceObject(ComponentContextImpl<S> key) |
protected T |
remove(ComponentContextImpl<S> key) |
boolean |
setServiceObject(ComponentContextImpl<S> key,
T serviceObject) |
String |
toString() |
getServiceObject, ungetServiceObject, ungetServiceObjectspublic SinglePrototypeRefPair(org.osgi.framework.ServiceReference<T> ref)
public String toString()
toString in class AbstractPrototypeRefPair<S,T>public T getServiceObject(ComponentContextImpl<S> key)
getServiceObject in class AbstractPrototypeRefPair<S,T>public boolean setServiceObject(ComponentContextImpl<S> key, T serviceObject)
setServiceObject in class AbstractPrototypeRefPair<S,T>protected T remove(ComponentContextImpl<S> key)
remove in class AbstractPrototypeRefPair<S,T>protected Collection<Map.Entry<ComponentContextImpl<S>,T>> clearEntries()
clearEntries in class AbstractPrototypeRefPair<S,T>Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.