org.apache.shale.clay.component.chain
Class AssignConverterCommand
java.lang.Object
org.apache.shale.clay.component.chain.AbstractCommand
org.apache.shale.clay.component.chain.AssignConverterCommand
- All Implemented Interfaces:
- Command
public class AssignConverterCommand
- extends AbstractCommand
Determines if the ComponentBean
has a ConverterBean
assigned.
A Converter
is created by invoking the
CreateConverterCommand
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignConverterCommand
public AssignConverterCommand()
execute
public boolean execute(Context context)
throws Exception
Checks to see if the ComponentBean
has a ConverterBean
assigned. The Globals.ADD_CONVERTER_COMMAND_NAME
is
invoked to create a Converter
.
- 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.