T - The type of service to createpublic class ServiceHandleImpl<T> extends java.lang.Object implements ServiceHandle<T>
| Modifier and Type | Method and Description |
|---|---|
void |
addSubHandle(ServiceHandleImpl<?> subHandle)
Add a sub handle to this for proper destruction
|
void |
destroy() |
ActiveDescriptor<T> |
getActiveDescriptor() |
T |
getService() |
boolean |
isActive() |
java.lang.String |
toString() |
public T getService()
getService in interface ServiceHandle<T>public ActiveDescriptor<T> getActiveDescriptor()
getActiveDescriptor in interface ServiceHandle<T>public boolean isActive()
isActive in interface ServiceHandle<T>public void destroy()
destroy in interface ServiceHandle<T>public void addSubHandle(ServiceHandleImpl<?> subHandle)
subHandle - A handle to add for proper destructionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013 Oracle Corporation. All Rights Reserved.