org.arch4j.dataaccess
Class AtomicOperationCommand
java.lang.Object
|
+--org.arch4j.dataaccess.AtomicOperationCommand
- public abstract class AtomicOperationCommand
- extends Object
This class is realized to bound multiple database operations which need
to execute as one atomic operation. An instance is used in conjunction with
the TransactionalDatabaseManager.executeTransaction() method.
- Author:
- dcolwell
- See Also:
TransactionalDatabaseManager.executeTransaction(org.arch4j.dataaccess.AtomicOperationCommand)
Method Summary |
abstract void |
execute()
Implement this method to include the database operations that need to be executed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomicOperationCommand
public AtomicOperationCommand()
execute
public abstract void execute()
throws DataAccessException
- Implement this method to include the database operations that need to be executed.
DataAccessException
Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.