org.jboss.ejb3.proxy
Class JndiSessionProxyObjectFactory

java.lang.Object
  extended by 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

Field Summary
static String REF_ADDR_NAME_BUSINESS_INTERFACE_TYPE
           
static String REF_ADDR_NAME_JNDI_BINDING_DELEGATE_PROXY_FACTORY
           
 
Constructor Summary
JndiSessionProxyObjectFactory()
           
 
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
 

Field Detail

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
Constructor Detail

JndiSessionProxyObjectFactory

public JndiSessionProxyObjectFactory()
Method Detail

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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.