org.apache.commons.chain.impl
Class AddingCommand
java.lang.Object
org.apache.commons.chain.impl.NonDelegatingCommand
org.apache.commons.chain.impl.AddingCommand
- All Implemented Interfaces:
- Command
public class AddingCommand
- extends NonDelegatingCommand
Implementation of Command
that logs its identifier and
and attempts to add a new Command
to the Chain
. This
should cause an IllegalStateException if the Chain
implementation
subclasses ChainBase
.
- Version:
- $Revision: 480477 $ $Date: 2006-11-29 08:34:52 +0000 (Wed, 29 Nov 2006) $
- Author:
- Craig R. McClanahan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddingCommand
public AddingCommand()
AddingCommand
public AddingCommand(String id,
Chain parent)
execute
public boolean execute(Context context,
Chain chain)
throws Exception
- Throws:
Exception
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.