com.googlecode.jpattern.core.commandfacade
Class ACommandFacade<E>
java.lang.Object
com.googlecode.jpattern.core.commandfacade.ACommandFacade<E>
- All Implemented Interfaces:
- java.io.Serializable
public abstract class ACommandFacade<E>
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Francesco Cina'
25 Feb 2011
This class is used as a entry point for the execution of a chain of commands.
A transaction management mechanism is implemented.
If not differently specified, the default ATransactionManager defined in the
TransactionService will be used.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACommandFacade
public ACommandFacade()
ACommandFacade
public ACommandFacade(IProvider provider)
setTransactionManager
public final void setTransactionManager(java.lang.String transactionManagerName,
boolean readOnly)
setTransactionManager
public final void setTransactionManager(ATransactionManager transactionManager)
accept
protected final void accept(ICommand aCommand)
exec
public final ICommandFacadeResult<E> exec()
execute
protected abstract ICommandFacadeResult<E> execute()
getLogger
protected final ILogger getLogger()
getTransactionManager
protected final ATransactionManager getTransactionManager()
Copyright © 2011. All Rights Reserved.