| |
|
| java.lang.Object org.obe.server.j2ee.ejb.AbstractEJB org.obe.server.j2ee.ejb.AbstractSessionEJB org.obe.server.j2ee.ejb.TxHelperEJB
TxHelperEJB | public class TxHelperEJB extends AbstractSessionEJB implements SessionSynchronization(Code) | | Tracks the transaction lifecycle. Enables OBE to know when to use read-write
entity beans instead of read-only beans (if the read-write version for a
particular entity class has already been used within the current
transaction).
author: Adrian Price. |
afterBegin | public void afterBegin()(Code) | | |
afterCompletion | public void afterCompletion(boolean committed)(Code) | | |
beforeCompletion | public void beforeCompletion()(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate(String threadId) throws CreateException(Code) | | Creates a new TxHelper bean.
Parameters: threadId - The ID of the thread from which the bean is being created. throws: CreateException - |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
getLogger | protected Log getLogger()(Code) | | |
isReadWrite | public boolean isReadWrite(String entityTag)(Code) | | Checks whether the specified entity class has been accessed in read-write
mode in the current transaction.
Parameters: entityTag - A unique tag representing the entity class. true if the entity class has been accessed inread-write mode, otherwise false . |
markReadWrite | public void markReadWrite(String entityTag)(Code) | | Marks the specified entity class as having been accessed in read-write
mode.
Parameters: entityTag - A unique tag representing the entity class. |
ping | public void ping()(Code) | | Checks whether the bean is still alive. (Stateful session beans can time
out or be removed by a runtime exception).
|
Fields inherited from org.obe.server.j2ee.ejb.AbstractSessionEJB | protected SessionContext _ctx(Code)(Java Doc)
|
|
|
|