|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rmi.PortableRemoteObject
org.ow2.jonas.lib.ejb21.JRemote
org.ow2.jonas.lib.ejb21.JSessionRemote
org.ow2.jonas.lib.ejb21.ha.JRepStatefulRemote
public abstract class JRepStatefulRemote
Generic part of the EJBObject implementation for replicated SFSBs
| Field Summary | |
|---|---|
protected static org.objectweb.util.monolog.api.Logger |
cmilogger
Logger for traces |
| Fields inherited from class org.ow2.jonas.lib.ejb21.JSessionRemote |
|---|
bs |
| Fields inherited from class org.ow2.jonas.lib.ejb21.JRemote |
|---|
bf |
| Constructor Summary | |
|---|---|
JRepStatefulRemote(JSessionFactory bf)
Constructor |
|
| Method Summary | |
|---|---|
protected 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,
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.ow2.jonas.lib.ejb21.JSessionRemote |
|---|
checkSecurity, getEJBHome, getHandle, getPrimaryKey, getSessionSwitch, isIdentical, postInvoke, remove, setSessionSwitch |
| Methods inherited from class org.ow2.jonas.lib.ejb21.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 |
| Field Detail |
|---|
protected static org.objectweb.util.monolog.api.Logger cmilogger
| Constructor Detail |
|---|
public JRepStatefulRemote(JSessionFactory bf)
throws RemoteException
bf -
RemoteException| Method Detail |
|---|
public RequestCtx preInvoke(int txa)
throws RemoteException
preInvoke in class JSessionRemotetxa - Transaction Attribute (Supports, Required, ...)
RemoteException - Thrown when the method failed due to a
system-level failure.
public void postInvoke(RequestCtx rctx,
Object response,
boolean remove)
throws RemoteException
rctx - The RequestCtx that was returned at preInvoke()remove - TODOresponse - The response that is going to be returned to the client
(Needed by HA)
RemoteException - Thrown when the method failed due to a
system-level failure.protected void injectState()
protected boolean hasResponse()
protected Object getResponse()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||