public static final class ContextController.ServiceHolder<S> extends java.lang.Object implements java.lang.Comparable<ContextController.ServiceHolder<?>>
| Constructor and Description |
|---|
ServiceHolder(<any> serviceObjects) |
ServiceHolder(S service,
Bundle bundle,
long serviceId,
int serviceRanking) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ContextController.ServiceHolder<?> o) |
S |
get() |
Bundle |
getBundle() |
<any> |
getServiceReference() |
void |
release() |
public ServiceHolder(<any> serviceObjects)
public ServiceHolder(S service, Bundle bundle, long serviceId, int serviceRanking)
public S get()
public Bundle getBundle()
public void release()
public <any> getServiceReference()
public int compareTo(ContextController.ServiceHolder<?> o)
compareTo in interface java.lang.Comparable<ContextController.ServiceHolder<?>>