com.googlecode.jpattern.service.transaction
Class TransactionRollbackCommand

java.lang.Object
  extended by com.googlecode.jpattern.core.command.ICommand
      extended by com.googlecode.jpattern.core.command.ACommand
          extended by com.googlecode.jpattern.service.transaction.TransactionRollbackCommand
All Implemented Interfaces:
Serializable, Runnable

public class TransactionRollbackCommand
extends ACommand

Author:
Francesco Cina' 22 Apr 2011
See Also:
Serialized Form

Constructor Summary
TransactionRollbackCommand(ATransactionDefinition transactionDefinition)
           
TransactionRollbackCommand(ATransactionDefinition transactionDefinition, ICommand previousCommand)
           
 
Method Summary
protected  void internalRollBack(ICommandResult result)
           
protected  void result(ICommandResult result)
           
 
Methods inherited from class com.googlecode.jpattern.core.command.ACommand
exec, exec, getLogger, getPreviousCommand, getProvider, run, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionRollbackCommand

public TransactionRollbackCommand(ATransactionDefinition transactionDefinition)

TransactionRollbackCommand

public TransactionRollbackCommand(ATransactionDefinition transactionDefinition,
                                  ICommand previousCommand)
Method Detail

result

protected void result(ICommandResult result)
Specified by:
result in class ACommand

internalRollBack

protected void internalRollBack(ICommandResult result)
Specified by:
internalRollBack in class ACommand


Copyright © 2011. All Rights Reserved.