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
component trigger..
- Since:
- 0.2.9
- Version:
- $Id: DirectCallback.java 243791 2004-02-19 17:38:13Z hlship $
- 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 IRequestCycle.setServiceParameters(Object[])
to
restore the service parameters, then
invokes IDirect.trigger(IRequestCycle)
on the component.
- Specified by:
performCallback
in interface ICallback