org.openejb.proxy
Class EJBProxyFactory

java.lang.Object
  extended byorg.openejb.proxy.EJBProxyFactory
All Implemented Interfaces:
org.tranql.ejb.EJBProxyFactory, Serializable

public class EJBProxyFactory
extends Object
implements Serializable, org.tranql.ejb.EJBProxyFactory

See Also:
Serialized Form

Constructor Summary
EJBProxyFactory(EJBContainer container)
           
EJBProxyFactory(ProxyInfo proxyInfo)
           
EJBProxyFactory(String containerId, boolean sessionBean, Class remoteInterface, Class homeInterface, Class localInterface, Class localHomeInterface)
           
 
Method Summary
 javax.ejb.EJBHome getEJBHome()
          Return a proxy for the EJB's home interface.
 javax.ejb.EJBLocalHome getEJBLocalHome()
          Return a proxy for the EJB's local home interface.
 javax.ejb.EJBLocalObject getEJBLocalObject(Object primaryKey)
          Return a proxy for the EJB's local interface.
 String getEJBName()
           
 javax.ejb.EJBObject getEJBObject(Object primaryKey)
          Return a proxy for the EJB's remote interface.
 Class getLocalInterfaceClass()
           
 int getMethodIndex(Method method)
           
 Class getRemoteInterfaceClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBProxyFactory

public EJBProxyFactory(EJBContainer container)

EJBProxyFactory

public EJBProxyFactory(ProxyInfo proxyInfo)

EJBProxyFactory

public EJBProxyFactory(String containerId,
                       boolean sessionBean,
                       Class remoteInterface,
                       Class homeInterface,
                       Class localInterface,
                       Class localHomeInterface)
Method Detail

getEJBName

public String getEJBName()

getMethodIndex

public int getMethodIndex(Method method)

getLocalInterfaceClass

public Class getLocalInterfaceClass()
Specified by:
getLocalInterfaceClass in interface org.tranql.ejb.EJBProxyFactory

getRemoteInterfaceClass

public Class getRemoteInterfaceClass()
Specified by:
getRemoteInterfaceClass in interface org.tranql.ejb.EJBProxyFactory

getEJBObject

public javax.ejb.EJBObject getEJBObject(Object primaryKey)
Return a proxy for the EJB's remote interface. This can be passed back * to any client that wishes to access the EJB (e.g. in response to a * call to SessionContext.getEJBObject() ) * @return the proxy for this EJB's home interface

Specified by:
getEJBObject in interface org.tranql.ejb.EJBProxyFactory

getEJBHome

public javax.ejb.EJBHome getEJBHome()
Return a proxy for the EJB's home interface. This can be passed back * to any client that wishes to access the EJB (e.g. in response to a * call to EJBContext.getEJBHome() ) * @return the proxy for this EJB's home interface


getEJBLocalObject

public javax.ejb.EJBLocalObject getEJBLocalObject(Object primaryKey)
Return a proxy for the EJB's local interface. This can be passed back * to any client that wishes to access the EJB (e.g. in response to a * call to SessionContext.getEJBLocalObject() ) * @return the proxy for this EJB's local interface

Specified by:
getEJBLocalObject in interface org.tranql.ejb.EJBProxyFactory

getEJBLocalHome

public javax.ejb.EJBLocalHome getEJBLocalHome()
Return a proxy for the EJB's local home interface. This can be * passed back to any client that wishes to access the EJB * (e.g. in response to a call to EJBContext.getEJBLocalHome() ) * @return the proxy for this EJB's local home interface



Copyright © 1999-2005 OpenEJB. All Rights Reserved.