org.apache.shale.clay.component.chain
Class AssignValidatorsCommand
java.lang.Object
org.apache.shale.clay.component.chain.AbstractCommand
org.apache.shale.clay.component.chain.AssignValidatorsCommand
- All Implemented Interfaces:
- Command
public class AssignValidatorsCommand
- extends AbstractCommand
If the ComponentBean has a ValidatorBean assigned, the
CreateValidatorCommand is invoked.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignValidatorsCommand
public AssignValidatorsCommand()
execute
public boolean execute(Context context)
throws Exception
Executes the CreateValidatorCommand using the
Globals.ADD_VALIDATOR_COMMAND_NAME command to create a
Validator.
- Specified by:
execute in interface Command- Specified by:
execute in class AbstractCommand
- Parameters:
context - common chains
- Returns:
true if the chain is complete
- Throws:
Exception - propagated up to the top of the chain
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.