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

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

public class AssignValueChangeListenersCommand
extends AbstractCommand

For each ValueChangeListenerBean in the valueChangeListeners collection, the CreateValueChangeListenerCommand command will be invoked.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
AssignValueChangeListenersCommand()
           
 
Method Summary
 boolean execute(Context context)
           Uses the Globals.ADD_VALUE_CHANGE_LISTENER_COMMAND_NAME command to create a ValueChangeListener.
 
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

AssignValueChangeListenersCommand

public AssignValueChangeListenersCommand()
Method Detail

execute

public boolean execute(Context context)
                throws Exception

Uses the Globals.ADD_VALUE_CHANGE_LISTENER_COMMAND_NAME command to create a ValueChangeListener.

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.