org.apache.tapestry.callback
Interface ICallback

All Superinterfaces:
Serializable
All Known Implementing Classes:
DirectCallback, ExternalCallback, PageCallback

public interface ICallback
extends Serializable

Defines a callback, an object which is used to invoke or reinvoke a method on an object or component in a later request cycle. This is used to allow certain operations (say, submitting an order) to defer to other processes (say, logging in and/or registerring).

Callbacks must be Serializable, to ensure that they can be stored between request cycles.

Since:
0.2.9
Version:
$Id: ICallback.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Method Summary
 void performCallback(IRequestCycle cycle)
          Performs the call back.
 

Method Detail

performCallback

void performCallback(IRequestCycle cycle)
Performs the call back. Typical implementation will locate a particular page or component and invoke a method upon it, or invoke a method on the cycle.