org.openejb.core.ivm.naming
Class IntraVmJndiReference
java.lang.Object
org.openejb.core.ivm.naming.IntraVmJndiReference
- All Implemented Interfaces:
- Reference
public class IntraVmJndiReference
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntraVmJndiReference
public IntraVmJndiReference(String jndiName)
getObject
public Object getObject()
throws NamingException
- Specified by:
getObject
in interface Reference
- Throws:
NamingException
Copyright © 1999-2008 OpenEJB. All Rights Reserved.