|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rmi.PortableRemoteObject
org.objectweb.easybeans.rpc.rmi.server.RMIServerRPCImpl
public class RMIServerRPCImpl
Server side object which handle the EJB requests.
Field Summary | |
---|---|
private Embedded |
ejb3server
Server on which it depends. |
private static int |
WAIT_TIME
Retry time when container is not available. |
Fields inherited from interface org.objectweb.easybeans.rpc.rmi.server.RMIServerRPC |
---|
RPC_JNDI_NAME |
Constructor Summary | |
---|---|
RMIServerRPCImpl(Embedded ejb3server)
This invoker will discuss with the embedded server when receiving requests. |
Method Summary | |
---|---|
EJBResponse |
getEJBResponse(EJBRequest request)
Handle a request and send back a response. It finds the right container and its factory and send the request to the factory. |
Methods inherited from class javax.rmi.PortableRemoteObject |
---|
connect, exportObject, narrow, toStub, unexportObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Embedded ejb3server
private static final int WAIT_TIME
Constructor Detail |
---|
public RMIServerRPCImpl(Embedded ejb3server) throws java.rmi.RemoteException
ejb3server
- the server on which send requests.
java.rmi.RemoteException
- if RPC failsMethod Detail |
---|
public EJBResponse getEJBResponse(EJBRequest request) throws java.rmi.RemoteException
getEJBResponse
in interface RMIServerRPC
request
- the ejb request to handle.
java.rmi.RemoteException
- if there are errors on the prococol.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |