org.apache.shale.clay.component.chain
Class AssignActionListenersCommand

java.lang.Object
  extended by org.apache.shale.clay.component.chain.AbstractCommand
      extended by org.apache.shale.clay.component.chain.AssignActionListenersCommand
All Implemented Interfaces:
Command

public class AssignActionListenersCommand
extends AbstractCommand

Iterates over the action listeners defined in the ComponentBean invoking CreateActionListenerCommand.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
AssignActionListenersCommand()
           
 
Method Summary
 boolean execute(Context context)
           This Command will use the ClayContext to invoke the Globals.ADD_ACTION_LISTENER_COMMAND_NAME.
 
Methods inherited from class org.apache.shale.clay.component.chain.AbstractCommand
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignActionListenersCommand

public AssignActionListenersCommand()
Method Detail

execute

public boolean execute(Context context)
                throws Exception

This Command will use the ClayContext to invoke the Globals.ADD_ACTION_LISTENER_COMMAND_NAME.

Specified by:
execute in interface Command
Specified by:
execute in class AbstractCommand
Parameters:
context - commons chains
Returns:
true if the chain is done
Throws:
Exception - propagated up to the top of the chain


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.