com.googlecode.jpattern.core.commandfacade
Class ACommandFacade<E>

java.lang.Object
  extended by com.googlecode.jpattern.core.commandfacade.ACommandFacade<E>
All Implemented Interfaces:
Serializable

public abstract class ACommandFacade<E>
extends Object
implements Serializable

Author:
Francesco Cina' 25 Feb 2011 This class is used as a entry point for the execution of a chain of commands.
See Also:
Serialized Form

Constructor Summary
ACommandFacade(IProvider provider)
           
 
Method Summary
protected  void accept(ICommand aCommand)
           
 ICommandFacadeResult<E> exec()
           
protected abstract  ICommandFacadeResult<E> execute()
           
protected  ILogger getLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACommandFacade

public ACommandFacade(IProvider provider)
Method Detail

accept

protected final void accept(ICommand aCommand)

exec

public final ICommandFacadeResult<E> exec()

execute

protected abstract ICommandFacadeResult<E> execute()

getLogger

protected final ILogger getLogger()


Copyright © 2011. All Rights Reserved.