org.tranql.ejb
Interface EJBProxyFactory


public interface EJBProxyFactory

Version:
$Revision: 57 $ $Date: 2004-04-21 23:45:17 +0200 (Wed, 21 Apr 2004) $

Method Summary
 javax.ejb.EJBLocalObject getEJBLocalObject(java.lang.Object pk)
          Return a local proxy to the specified instance
 javax.ejb.EJBObject getEJBObject(java.lang.Object pk)
          Return a remote proxy to the specified instance
 java.lang.Class getLocalInterfaceClass()
          Return the Class of the local interface
 java.lang.Class getRemoteInterfaceClass()
          Return the Class of the remote interface
 

Method Detail

getLocalInterfaceClass

java.lang.Class getLocalInterfaceClass()
Return the Class of the local interface

Returns:
the local interface class

getEJBLocalObject

javax.ejb.EJBLocalObject getEJBLocalObject(java.lang.Object pk)
Return a local proxy to the specified instance

Parameters:
pk - the id of the instance
Returns:
a proxy to that instance

getRemoteInterfaceClass

java.lang.Class getRemoteInterfaceClass()
Return the Class of the remote interface

Returns:
the remote interface class

getEJBObject

javax.ejb.EJBObject getEJBObject(java.lang.Object pk)
Return a remote proxy to the specified instance

Parameters:
pk - the id of the instance
Returns:
a proxy to that instance


Copyright © -2010 The Codehaus. All Rights Reserved.