Package org.apache.tapestry5
Interface TrackableComponentEventCallback<T>
-
- All Superinterfaces:
ComponentEventCallback<T>
- All Known Implementing Classes:
ComponentResultProcessorWrapper
public interface TrackableComponentEventCallback<T> extends ComponentEventCallback<T>
ExtendsComponentEventCallback
with a way to determine if the underlying event has been aborted due to a some event returning an acceptable, non-null value. The standard implementation of this is a wrapper around either the traditional or ajax versions of theComponentEventResultProcessor
service, i.e., they allow for a navigational result. Instances of this are made available via theEnvironmental
annotation.- Since:
- 5.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAborted()
Returns true if a return value from an event handler method was processed.void
rethrow()
If processing a return value threw an IOException, invoking this method will rethrow it.-
Methods inherited from interface org.apache.tapestry5.ComponentEventCallback
handleResult
-
-
-
-
Method Detail
-
isAborted
boolean isAborted()
Returns true if a return value from an event handler method was processed.
-
rethrow
void rethrow() throws IOException
If processing a return value threw an IOException, invoking this method will rethrow it.- Throws:
IOException
-
-