org.openejb.core.ivm.naming
Class JndiReference
java.lang.Object
org.openejb.core.ivm.naming.JndiReference
- All Implemented Interfaces:
- Reference
public class JndiReference
- extends Object
- implements Reference
This class is used when the object to be referenced is accessible through
some other JNDI name space.
The object is not resolved until it's requested.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiReference
public JndiReference(Context linkedContext,
String jndiName)
JndiReference
public JndiReference(String contextJndiName,
String jndiName)
JndiReference
public JndiReference(Hashtable envProperties,
String jndiName)
getObject
public Object getObject()
throws NamingException
- Specified by:
getObject
in interface Reference
- Throws:
NamingException
getContext
protected Context getContext()
throws NamingException
- Throws:
NamingException
Copyright © 1999-2010 OpenEJB. All Rights Reserved.