org.apache.shale.clay.component.chain
Class CreateValueChangeListenerCommand
java.lang.Object
org.apache.shale.clay.component.chain.AbstractCommand
org.apache.shale.clay.component.chain.CreateValueChangeListenerCommand
- All Implemented Interfaces:
- Command
public class CreateValueChangeListenerCommand
- extends AbstractCommand
Creates a ValueChangeListener
and assign it to the
parent
property in the ClayContext
.
Method Summary |
boolean |
execute(Context context)
Creates a ValueChangeListener and assigns it to the
parent attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateValueChangeListenerCommand
public CreateValueChangeListenerCommand()
execute
public boolean execute(Context context)
throws Exception
Creates a ValueChangeListener
and assigns it to the
parent
attribute.
- 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.