| java.lang.Object org.objectweb.jonas_ejb.container.JEntitySwitch org.objectweb.jonas_ejb.container.JEntitySwitchCST org.objectweb.jonas_ejb.container.JEntitySwitchCS
JEntitySwitchCS | public class JEntitySwitchCS extends JEntitySwitchCST (Code) | | Container Serialized (CS) lock-policy.
Transaction Isolation managed by the container.
Non transactional methods of the bean can modify the bean.
author: Philippe Durieux |
passivationTimeout | protected long passivationTimeout(Code) | | time in millisec. to keep instance state in memory without storing it
After this time, instance is stored on database.
before.
|
ptimestamp | protected long ptimestamp(Code) | | timestamp uses for passivationTimeout
|
JEntitySwitchCS | public JEntitySwitchCS()(Code) | | empty constructor. Object is initialized via init() because it is
implemented differently according to jorm mappers.
|
endIH | public synchronized void endIH()(Code) | | Instance is ready to use for new transaction.
|
passivateIH | public synchronized int passivateIH(boolean store, boolean passivate)(Code) | | try to passivate instances
Parameters: store - If we want to store the bean state first. Parameters: passivate - If we want to pasivate the bean also int result of operation:ALL_DONE = just remove from dirty list.STORED = remove from dirty list and call endIHNOT_DONE = keep it in the list. |
waitmyturn | public void waitmyturn(Transaction tx)(Code) | | |
Methods inherited from org.objectweb.jonas_ejb.container.JEntitySwitch | public void bindICtx(Transaction tx, JEntityContext bctx)(Code)(Java Doc) protected void detachPk()(Code)(Java Doc) protected void discardContext(Transaction tx, boolean forgetpk, boolean pool)(Code)(Java Doc) abstract public void endIH()(Code)(Java Doc) public synchronized void forceDiscardICtx(Transaction tx)(Code)(Java Doc) public JFactory getBeanFactory()(Code)(Java Doc) public Transaction getBlockingTx(Transaction testedtx)(Code)(Java Doc) abstract JEntityContext getContext4Tx(Transaction tx)(Code)(Java Doc) public TimerService getEntityTimerService()(Code)(Java Doc) public JEntityContext getICtx(Transaction tx, JEntityContext newctx)(Code)(Java Doc) public JEntityContext getICtx(Transaction tx, boolean checkr)(Code)(Java Doc) public JEntityLocal getLocal()(Code)(Java Doc) public int getPolicy()(Code)(Java Doc) public Object getPrimaryKey()(Code)(Java Doc) public JEntityRemote getRemote()(Code)(Java Doc) abstract public int getState()(Code)(Java Doc) public void init(JEntityFactory bf, Object pk)(Code)(Java Doc) abstract protected void initpolicy(JEntityFactory bf)(Code)(Java Doc) public boolean lazyRegistering()(Code)(Java Doc) public synchronized JEntityContext mapICtx(Transaction tx, JEntityContext bctx, boolean forced, boolean holdit, boolean checkreentrance)(Code)(Java Doc) public void notifyTimeout(Timer timer)(Code)(Java Doc) public synchronized void notifyWriting(Transaction tx, JEntityContext bctx)(Code)(Java Doc) abstract public int passivateIH(boolean store, boolean passivate)(Code)(Java Doc) protected void registerCtx(Transaction tx, JEntityContext bctx)(Code)(Java Doc) public synchronized void releaseICtx(Transaction tx, boolean discard)(Code)(Java Doc) abstract void removeContext4Tx(Transaction tx)(Code)(Java Doc) abstract void setContext4Tx(Transaction tx, JEntityContext ctx)(Code)(Java Doc) public synchronized boolean terminate(Transaction tx)(Code)(Java Doc) public synchronized boolean tryBindICtx(Transaction tx, JEntityContext bctx, boolean simple) throws ObjectNotFoundException(Code)(Java Doc) public synchronized void txCompleted(Transaction tx, boolean committed)(Code)(Java Doc) abstract void waitmyturn(Transaction tx)(Code)(Java Doc)
|
|
|