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,v 1.2 2003/03/15 21:22:26 hlship Exp $
- Author:
- Howard Lewis Ship
performCallback
public 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
.