org.apache.openejb.assembler.classic
Class Assembler.ResourceInstance

java.lang.Object
  extended by javax.naming.Reference
      extended by org.apache.xbean.naming.reference.SimpleReference
          extended by org.apache.openejb.core.ivm.naming.Reference
              extended by org.apache.openejb.assembler.classic.Assembler.ResourceInstance
All Implemented Interfaces:
Serializable, Cloneable, DestroyableResource
Enclosing class:
Assembler

public static class Assembler.ResourceInstance
extends Reference
implements Serializable, DestroyableResource

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.xbean.naming.reference.SimpleReference
org.apache.xbean.naming.reference.SimpleReference.SimpleObjectFactory
 
Field Summary
 
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
Assembler.ResourceInstance(String name, Object delegate, Collection<Method> preDestroys, javax.enterprise.context.spi.CreationalContext<?> context)
           
 
Method Summary
 void destroyResource()
           
 Object getObject()
           
 
Methods inherited from class org.apache.openejb.core.ivm.naming.Reference
getContent
 
Methods inherited from class org.apache.xbean.naming.reference.SimpleReference
add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Assembler.ResourceInstance

public Assembler.ResourceInstance(String name,
                                  Object delegate,
                                  Collection<Method> preDestroys,
                                  javax.enterprise.context.spi.CreationalContext<?> context)
Method Detail

getObject

public Object getObject()
                 throws NamingException
Specified by:
getObject in class Reference
Throws:
NamingException

destroyResource

public void destroyResource()
Specified by:
destroyResource in interface DestroyableResource


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.