org.apache.tapestry.callback
Class DirectCallback
java.lang.Object
org.apache.tapestry.callback.DirectCallback
- All Implemented Interfaces:
- Serializable, ICallback
public class DirectCallback
- extends Object
- implements ICallback
Simple callback for re-invoking a IDirect
trigger.
- Since:
- 0.2.9
- Author:
- Howard Lewis Ship
- See Also:
- Serialized Form
DirectCallback
public DirectCallback(IDirect component,
Object[] parameters)
- Creates a new DirectCallback for the component. The parameters (which may be null) is
retained, not copied.
toString
public String toString()
- Overrides:
toString
in class Object
performCallback
public void performCallback(IRequestCycle cycle)
- Locates the
IDirect
component that was previously identified (and whose page and id
path were stored). Invokes (Object[])
to
restore the service parameters, then invokes IDirect.trigger(IRequestCycle)
on the
component.
- Specified by:
performCallback
in interface ICallback
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.