| |
|
| java.lang.Object com.jcorporate.expresso.services.asyncprocess.DefaultProcessResult
DefaultProcessResult | public class DefaultProcessResult implements AsyncProcessResult(Code) | | This is a default bean implementation of an AsyncProcessResult. It is
used by the DefaultAsyncProcessor to set everything that the clients would
want to know about.
author: Michael Rimov version: $Revision: 1.5 $ on $Date: 2004/11/17 20:48:17 $ |
exception | protected Throwable exception(Code) | | An exception if one was thrown
|
originalProcess | protected AsyncProcess originalProcess(Code) | | The original process that was queued and may be running, may be complete/
|
statusCode | int statusCode(Code) | | |
DefaultProcessResult | public DefaultProcessResult()(Code) | | |
getException | public Throwable getException()(Code) | | Retrieve the exception that occured during the processing. [If one
exists]
The Exception thrown or null if there is none available. |
getOriginalProcess | public AsyncProcess getOriginalProcess()(Code) | | Get the asynchronous process
AsyncProcess |
getResult | public Object getResult()(Code) | | Retrieve the result of the Object
java.lang.Object the Async processes's return object |
getStatus | public Object getStatus()(Code) | | Retrieve the status object
java.lang.Object |
getStatusCode | public int getStatusCode()(Code) | | Retrieve the status code of the process.
integer the status code as defined by AsyncProcessResult |
setStatusCode | public void setStatusCode(int statusCode)(Code) | | |
|
|
|