|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.ComponentResultProcessorWrapper
public class ComponentResultProcessorWrapper
A wrapper around ComponentEventResultProcessor that encapsulates capturing the exception.
| Constructor Summary | |
|---|---|
ComponentResultProcessorWrapper(ComponentEventResultProcessor processor)
|
|
| Method Summary | |
|---|---|
boolean |
handleResult(Object result)
Invoked to handle a non-null event handler method result. |
boolean |
isAborted()
Returns true if ComponentEventCallback.handleResult(Object) was invoked, false
otherwise. |
void |
rethrow()
If processing a return value threw an IOException, invoking this method will rethrow it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentResultProcessorWrapper(ComponentEventResultProcessor processor)
| Method Detail |
|---|
public boolean handleResult(Object result)
ComponentEventCallbackEvent.isAborted() will return true.
handleResult in interface ComponentEventCallbackresult - the result value returned from the event handler method
public boolean isAborted()
ComponentEventCallback.handleResult(Object) was invoked, false
otherwise.
isAborted in interface TrackableComponentEventCallback
public void rethrow()
throws IOException
TrackableComponentEventCallback
rethrow in interface TrackableComponentEventCallbackIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||