com.primix.tapestry.callback
Interface ICallback
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- PageCallback, DirectCallback
- public interface ICallback
- extends java.io.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.3 2001/05/02 14:15:15 hship Exp $
- Author:
- Howard Ship
peformCallback
public void peformCallback(IRequestCycle cycle)
throws RequestCycleException
- 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
.