org.jboss.ejb3.proxy
Class JndiSessionProxyObjectFactory
java.lang.Object
org.jboss.ejb3.proxy.JndiSessionProxyObjectFactory
- All Implemented Interfaces:
- ObjectFactory
public class JndiSessionProxyObjectFactory
- extends Object
- implements ObjectFactory
JndiProxyFactory
Responsible for delegating to the appropriate Proxy Factory
for creation of a Proxy, and setting appropriately
the target "
- Author:
- ALR
Method Summary |
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
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 String REF_ADDR_NAME_JNDI_BINDING_DELEGATE_PROXY_FACTORY
- See Also:
- Constant Field Values
REF_ADDR_NAME_BUSINESS_INTERFACE_TYPE
public static final String REF_ADDR_NAME_BUSINESS_INTERFACE_TYPE
- See Also:
- Constant Field Values
JndiSessionProxyObjectFactory
public JndiSessionProxyObjectFactory()
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
throws 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 ObjectFactory
- Throws:
Exception
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.