Class Transaction<CONTEXT>
java.lang.Object
org.eclipse.net4j.util.transaction.Transaction<CONTEXT>
- All Implemented Interfaces:
ITransaction<CONTEXT>
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorDescriptionTransaction
(CONTEXT context) Transaction
(CONTEXT context, boolean undoPhase1OnRollback) -
Method Summary
-
Constructor Details
-
Transaction
-
Transaction
-
-
Method Details
-
isUndoPhase1OnRollback
public boolean isUndoPhase1OnRollback() -
isActive
public boolean isActive()- Specified by:
isActive
in interfaceITransaction<CONTEXT>
-
getContext
- Specified by:
getContext
in interfaceITransaction<CONTEXT>
-
execute
- Specified by:
execute
in interfaceITransaction<CONTEXT>
- Throws:
TransactionException
-
commit
public void commit()- Specified by:
commit
in interfaceITransaction<CONTEXT>
-
rollback
public void rollback()- Specified by:
rollback
in interfaceITransaction<CONTEXT>
-