org.objectweb.easybeans.rpc.rmi.server
Interface RMIServerRPC

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RMIServerRPCImpl, RMIServerRPCImpl_Stub

public interface RMIServerRPC
extends java.rmi.Remote

Server side interface which need to handle the requests.

Author:
Florent Benoit

Field Summary
static java.lang.String RPC_JNDI_NAME
          JNDI name to use when binding the RPC invoker.
 
Method Summary
 EJBResponse getEJBResponse(EJBRequest request)
          Handle a request and send back a response.
 

Field Detail

RPC_JNDI_NAME

static final java.lang.String RPC_JNDI_NAME
JNDI name to use when binding the RPC invoker.

See Also:
Constant Field Values
Method Detail

getEJBResponse

EJBResponse getEJBResponse(EJBRequest request)
                           throws java.rmi.RemoteException
Handle a request and send back a response.

Parameters:
request - the ejb request to handle.
Returns:
a response.
Throws:
java.rmi.RemoteException - if there are errors on the prococol.