| java.lang.Object com.opensymphony.webwork.interceptor.BackgroundProcess
Method Summary | |
protected void | afterInvocation() called after the background thread determines the result code
from the ActionInvocation, but before the background thread is
marked as done. | protected void | beforeInvocation() called before the background thread determines the result code
from the ActionInvocation. | public Object | getAction() Retrieves the action. | public Exception | getException() Gets the exception if any was thrown during the execution of the background process. | public ActionInvocation | getInvocation() Retrieves the action invocation. | public String | getResult() Gets the result of the background process. | public boolean | isDone() Returns the status of the background process. |
done | protected boolean done(Code) | | |
afterInvocation | protected void afterInvocation() throws Exception(Code) | | called after the background thread determines the result code
from the ActionInvocation, but before the background thread is
marked as done.
throws: Exception - any exception thrown will be thrown, in turn, by the ExecuteAndWaitInterceptor |
beforeInvocation | protected void beforeInvocation() throws Exception(Code) | | called before the background thread determines the result code
from the ActionInvocation.
throws: Exception - any exception thrown will be thrown, in turn, by the ExecuteAndWaitInterceptor |
getAction | public Object getAction()(Code) | | Retrieves the action.
the action. |
getException | public Exception getException()(Code) | | Gets the exception if any was thrown during the execution of the background process.
the exception or null if no exception was thrown. |
getInvocation | public ActionInvocation getInvocation()(Code) | | Retrieves the action invocation.
the action invocation |
getResult | public String getResult()(Code) | | Gets the result of the background process.
the result; null if not done. |
isDone | public boolean isDone()(Code) | | Returns the status of the background process.
true if finished, false otherwise |
|
|