|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas_ejb.container.JEntitySwitch
org.objectweb.jonas_ejb.container.JEntitySwitchCST
org.objectweb.jonas_ejb.container.JEntitySwitchCS
Container Serialized (CS) lock-policy. Transaction Isolation managed by the container. Non transactional methods of the bean can modify the bean.
| Field Summary | |
protected long |
passivationTimeout
time in millisec. |
protected long |
ptimestamp
timestamp uses for passivationTimeout |
| Fields inherited from class org.objectweb.jonas_ejb.container.JEntitySwitchCST |
itContext |
| Fields inherited from class org.objectweb.jonas_ejb.container.JEntitySwitch |
bf, blockedtx, counter, countIH, countIT, deadlockTimeout, estimestamp, FEW_SECONDS, ident, inactivityTimeout, inDirtyList, isremoved, lazyregister, local, lockpolicy, mustReload, mustStore, myTimerService, pk, readTimeout, reentrant, remote, runningtx, shared, todiscard, txUpdates, waiters, writingtx |
| Constructor Summary | |
JEntitySwitchCS()
empty constructor. |
|
| Method Summary | |
void |
endIH()
Instance is ready to use for new transaction. |
protected void |
initpolicy(JEntityFactory bf)
|
int |
passivateIH(boolean store,
boolean passivate)
try to passivate instances |
void |
waitmyturn(javax.transaction.Transaction tx)
Wait until I'm allowed to work on this instance. |
| Methods inherited from class org.objectweb.jonas_ejb.container.JEntitySwitchCST |
getContext4Tx, getState, removeContext4Tx, setContext4Tx, tryBindICtx |
| Methods inherited from class org.objectweb.jonas_ejb.container.JEntitySwitch |
bindICtx, discardContext, forceDiscardICtx, getBeanFactory, getBlockingTx, getEntityTimerService, getICtx, getICtx, getLocal, getPolicy, getPrimaryKey, getRemote, init, lazyRegistering, mapICtx, notifyTimeout, notifyWriting, registerCtx, releaseICtx, terminate, txCompleted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected long passivationTimeout
protected long ptimestamp
| Constructor Detail |
public JEntitySwitchCS()
| Method Detail |
protected void initpolicy(JEntityFactory bf)
initpolicy in class JEntitySwitchCSTpublic void waitmyturn(javax.transaction.Transaction tx)
JEntitySwitchCST
waitmyturn in class JEntitySwitchCSTtx - Transaction
public int passivateIH(boolean store,
boolean passivate)
passivateIH in class JEntitySwitchCSTstore - If we want to store the bean state first.passivate - If we want to pasivate the bean also
public void endIH()
endIH in class JEntitySwitchCST
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||