org.openejb.core.ivm.naming
Class IntraVmJndiReference

java.lang.Object
  |
  +--org.openejb.core.ivm.naming.IntraVmJndiReference
All Implemented Interfaces:
Reference

public class IntraVmJndiReference
extends java.lang.Object
implements Reference

This class is used when the object to be referenced is accessible through the OpenEJB global name space. The lookup name is provided, but not the context because it can be obtained dynamically using OpenEJB.getJNDIContext() method. The object is not resolved until it's requested. This is primarily used when constructing the JNDI ENC for a bean.


Constructor Summary
IntraVmJndiReference(java.lang.String jndiName)
           
 
Method Summary
 java.lang.Object getObject()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntraVmJndiReference

public IntraVmJndiReference(java.lang.String jndiName)
Method Detail

getObject

public java.lang.Object getObject()
                           throws javax.naming.NamingException
Specified by:
getObject in interface Reference