| |
|
| java.lang.Object org.obe.server.j2ee.repository.TransactionUtil
TransactionUtil | public class TransactionUtil (Code) | | A utility class to help in maintaining information relative to a transaction.
|
Method Summary | |
public static void | cleanup(String threadId) Notification that a TxHelperEJB has been removed. | public static boolean | isReadWrite(String entityTag) Checks whether the current transaction has been marked read/write for a
given entity tag.
Parameters: entityTag - A string tag identifying a type of entity (or entities). | public static void | markReadWrite(String entityTag) Marks the current transaction as read/write for a given entity tag. |
cleanup | public static void cleanup(String threadId)(Code) | | Notification that a TxHelperEJB has been removed. Bean removal would
typically be performed by the EJB container as the result of the bean
timing out. This is an internal method and should not be called.
Parameters: threadId - The unique thread ID passed to the bean when it was firstcreated. |
isReadWrite | public static boolean isReadWrite(String entityTag)(Code) | | Checks whether the current transaction has been marked read/write for a
given entity tag.
Parameters: entityTag - A string tag identifying a type of entity (or entities). true if the current transaction has been markedas read/write with the given entityTag. See Also: TransactionUtil.markReadWrite(String) |
markReadWrite | public static void markReadWrite(String entityTag)(Code) | | Marks the current transaction as read/write for a given entity tag.
Parameters: entityTag - A string tag identifying a type of entity (or entities). See Also: TransactionUtil.isReadWrite |
|
|
|