Arch4J 1.1

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)

Constructor Summary
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
 

Constructor Detail

AtomicOperationCommand

public AtomicOperationCommand()
Method Detail

execute

public abstract void execute()
                      throws DataAccessException
Implement this method to include the database operations that need to be executed.

DataAccessException

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.