org.openejb.ri.server
Class EjbRemoteIntfcProcessor

java.lang.Object
  |
  +--org.openejb.ri.server.EjbRemoteIntfcProcessor

public class EjbRemoteIntfcProcessor
extends java.lang.Object

Represents the EJB Server's responsibility in handling the business methods methods that are declared in the bean's remote interface.

See Also:
EJBHome

Constructor Summary
EjbRemoteIntfcProcessor()
           
 
Method Summary
static java.lang.Object processMethod(MethodInvocation mi, java.lang.String securityToken, Server server)
          Internally processes the business methods from the bean's remote interface.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbRemoteIntfcProcessor

public EjbRemoteIntfcProcessor()
Method Detail

processMethod

public static java.lang.Object processMethod(MethodInvocation mi,
                                             java.lang.String securityToken,
                                             Server server)
                                      throws OpenEJBException
Internally processes the business methods from the bean's remote interface. Business methods that return EJBHome or EJBObject references to local beans (beans in the same container system) must have the return value converted to a ProxyInfo object, so that the server can provide the client with a proper remote reference. Non-local remote references are assumed to be serializable and valid return types for the clients.

If a ProxyInfo object is returned in must be converted into a Ri Proxy before its returned to the client. See Section 2.2.1.2.5 Remote References of the OpenEJB specification

Parameters:
mi -  
securityToken -  
server -  
Returns:
 
Throws:
OpenEJBException -