org.jboss.ejb3.proxy
Class JndiSessionProxyObjectFactory
java.lang.Object
org.jboss.ejb3.proxy.JndiSessionProxyObjectFactory
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
public class JndiSessionProxyObjectFactory
- extends java.lang.Object
- implements javax.naming.spi.ObjectFactory
JndiProxyFactory
Responsible for delegating to the appropriate Proxy Factory
for creation of a Proxy, and setting appropriately
the target "
|
Method Summary |
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable<?,?> environment)
Using the ProxyFactory located at the RefAddr(REF_ADDR_NAME_JNDI_BINDING_DELEGATE_PROXY_FACTORY)
specified by obj, create a new Proxy, set the target business interface
(if specified by RefAddr(REF_ADDR_NAME_BUSINESS_INTERFACE_TYPE)), and return to the client. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REF_ADDR_NAME_JNDI_BINDING_DELEGATE_PROXY_FACTORY
public static final java.lang.String REF_ADDR_NAME_JNDI_BINDING_DELEGATE_PROXY_FACTORY
- See Also:
- Constant Field Values
REF_ADDR_NAME_BUSINESS_INTERFACE_TYPE
public static final java.lang.String REF_ADDR_NAME_BUSINESS_INTERFACE_TYPE
- See Also:
- Constant Field Values
JndiSessionProxyObjectFactory
public JndiSessionProxyObjectFactory()
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable<?,?> environment)
throws java.lang.Exception
- Using the ProxyFactory located at the RefAddr(REF_ADDR_NAME_JNDI_BINDING_DELEGATE_PROXY_FACTORY)
specified by obj, create a new Proxy, set the target business interface
(if specified by RefAddr(REF_ADDR_NAME_BUSINESS_INTERFACE_TYPE)), and return to the client.
- Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
- Throws:
java.lang.Exception