public class NamingProxy extends java.lang.Object implements ObjectProxy, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected AbstractModel |
_namingModel |
Constructor and Description |
---|
NamingProxy(AbstractModel namingModel)
Creates a new LinkProxy.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createObject(java.util.Hashtable<?,?> env)
Creates the object from the proxy.
|
protected AbstractModel _namingModel
public NamingProxy(AbstractModel namingModel) throws javax.naming.NamingException
name
- the jndi-link path in the foreign namespacejavax.naming.NamingException
public java.lang.Object createObject(java.util.Hashtable<?,?> env) throws javax.naming.NamingException
createObject
in interface ObjectProxy
env
- the calling environmentjavax.naming.NamingException