|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.container.JLocal org.objectweb.jonas_ejb.container.JSessionLocal org.objectweb.jonas_ejb.container.JRepStatefulLocal
public abstract class JRepStatefulLocal
Generic part of the EJBObject implementation for replicated SFSBs
Field Summary | |
---|---|
org.objectweb.carol.cmi.ObjectId |
clusterOId
|
Fields inherited from class org.objectweb.jonas_ejb.container.JSessionLocal |
---|
bf, bs |
Constructor Summary | |
---|---|
JRepStatefulLocal(JSessionFactory bf)
constructor |
Method Summary | |
---|---|
org.objectweb.carol.cmi.ObjectId |
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.objectweb.carol.cmi.ObjectId oid)
Sets the clusterOId |
Methods inherited from class org.objectweb.jonas_ejb.container.JSessionLocal |
---|
checkSecurity, getEJBLocalHome, getPrimaryKey, getSessionSwitch, isIdentical, postInvoke, remove, setSessionSwitch |
Methods inherited from class org.objectweb.jonas_ejb.container.JLocal |
---|
exportObject, unexportObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public org.objectweb.carol.cmi.ObjectId clusterOId
Constructor Detail |
---|
public JRepStatefulLocal(JSessionFactory bf)
bf
- The Session Factory
java.lang.Exception
Method Detail |
---|
public RequestCtx preInvoke(int txa)
preInvoke
in class JSessionLocal
txa
- Transaction Attribute (Supports, Required, ...)
java.rmi.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
- TODO
java.rmi.RemoteException
- Thrown when the method failed due to a
system-level failure.protected void injectState()
public org.objectweb.carol.cmi.ObjectId getClusterOId()
public void setClusterOId(org.objectweb.carol.cmi.ObjectId oid)
oid
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |