public static class Assembler.ResourceInstance extends Reference implements java.io.Serializable, DestroyableResource
Constructor and Description |
---|
ResourceInstance(java.lang.String name,
java.lang.Object delegate,
java.util.Collection<java.lang.reflect.Method> preDestroys,
<any> context) |
Modifier and Type | Method and Description |
---|---|
void |
destroyResource() |
java.lang.Object |
getObject() |
getContent
public ResourceInstance(java.lang.String name, java.lang.Object delegate, java.util.Collection<java.lang.reflect.Method> preDestroys, <any> context)
public java.lang.Object getObject() throws javax.naming.NamingException
public void destroyResource()
destroyResource
in interface DestroyableResource