com.googlecode.jpattern.core.command.facade
Class ACommandFacade<E>

java.lang.Object
  extended by com.googlecode.jpattern.core.command.facade.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)
           
 com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult<E> exec()
           
protected abstract  com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult<E> execute()
           
protected  ILogger getLogger()
           
protected  IProvider getProvider()
           
 
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 com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult<E> exec()

getProvider

protected final IProvider getProvider()

execute

protected abstract com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult<E> execute()

getLogger

protected final ILogger getLogger()


Copyright © 2011. All Rights Reserved.