|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.rmi.PortableRemoteObject org.objectweb.jonas_ejb.container.JRemote org.objectweb.jonas_ejb.container.JSessionRemote org.objectweb.jonas_ejb.container.JRepStatefulRemote
public abstract class JRepStatefulRemote
Generic part of the EJBObject implementation for replicated SFSBs
Field Summary |
---|
Fields inherited from class org.objectweb.jonas_ejb.container.JSessionRemote |
---|
bs |
Fields inherited from class org.objectweb.jonas_ejb.container.JRemote |
---|
bf |
Constructor Summary | |
---|---|
JRepStatefulRemote(JSessionFactory bf)
Constructor |
Method Summary | |
---|---|
protected java.lang.Object |
getResponse()
Obtain the response associated with the current request id. |
protected boolean |
hasResponse()
Checks if there is a response associated with the current request id |
protected void |
injectState()
Injects the state of the bean if the cluster object id received in the request is in the current node. |
void |
postInvoke(RequestCtx rctx,
java.lang.Object response,
boolean remove)
postInvoke is called after any request. |
RequestCtx |
preInvoke(int txa)
preInvoke is called before any request. |
Methods inherited from class org.objectweb.jonas_ejb.container.JSessionRemote |
---|
checkSecurity, getEJBHome, getHandle, getPrimaryKey, getSessionSwitch, isIdentical, postInvoke, remove, setSessionSwitch |
Methods inherited from class org.objectweb.jonas_ejb.container.JRemote |
---|
exportObject, getBf, unexportObject |
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 |
Constructor Detail |
---|
public JRepStatefulRemote(JSessionFactory bf) throws java.rmi.RemoteException
bf
-
java.rmi.RemoteException
Method Detail |
---|
public RequestCtx preInvoke(int txa) throws java.rmi.RemoteException
preInvoke
in class JSessionRemote
txa
- Transaction Attribute (Supports, Required, ...)
java.rmi.RemoteException
- Thrown when the method failed due to a
system-level failure.public void postInvoke(RequestCtx rctx, java.lang.Object response, boolean remove) throws java.rmi.RemoteException
rctx
- The RequestCtx that was returned at preInvoke()remove
- TODO
java.rmi.RemoteException
- Thrown when the method failed due to a
system-level failure.protected void injectState()
protected boolean hasResponse()
protected java.lang.Object getResponse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |