|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.ejb21.JLocal org.ow2.jonas.lib.ejb21.JSessionLocal org.ow2.jonas.lib.ejb21.ha.JRepStatefulLocal
public abstract class JRepStatefulLocal
Generic part of the EJBObject implementation for replicated SFSBs
Field Summary | |
---|---|
org.ow2.cmi.ha.SessionId |
clusterOId
|
protected static org.objectweb.util.monolog.api.Logger |
cmilogger
Logger for traces |
Fields inherited from class org.ow2.jonas.lib.ejb21.JSessionLocal |
---|
bf, bs |
Constructor Summary | |
---|---|
JRepStatefulLocal(JSessionFactory bf)
constructor |
Method Summary | |
---|---|
org.ow2.cmi.ha.SessionId |
getClusterOId()
Gets the clusterOId |
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,
boolean remove)
postInvoke is called after any request. |
RequestCtx |
preInvoke(int txa)
preInvoke is called before any request. |
void |
setClusterOId(org.ow2.cmi.ha.SessionId oid)
Sets the clusterOId |
Methods inherited from class org.ow2.jonas.lib.ejb21.JSessionLocal |
---|
checkSecurity, getEJBLocalHome, getPrimaryKey, getSessionSwitch, isIdentical, postInvoke, remove, setSessionSwitch |
Methods inherited from class org.ow2.jonas.lib.ejb21.JLocal |
---|
exportObject, 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
public org.ow2.cmi.ha.SessionId clusterOId
Constructor Detail |
---|
public JRepStatefulLocal(JSessionFactory bf)
bf
- The Session Factory
Exception
Method Detail |
---|
public RequestCtx preInvoke(int txa)
preInvoke
in class JSessionLocal
txa
- Transaction Attribute (Supports, Required, ...)
RemoteException
- Thrown when the method failed due to a
system-level failure.public void postInvoke(RequestCtx rctx, boolean remove)
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()
public org.ow2.cmi.ha.SessionId getClusterOId()
public void setClusterOId(org.ow2.cmi.ha.SessionId oid)
oid
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |