public interface RequestTable
Modifier and Type | Method and Description |
---|---|
void |
cleanupRequest(java.lang.String requestId)
release blackboard and caught exception.
|
Blackboard |
getBlackboard(java.lang.String id)
get blackboard service for request.
|
MessageHelper |
getMessageHelper()
get message helper.
|
java.lang.Exception |
getPipeletException(java.lang.String requestId)
get exception thrown by a pipelet in this pipeline.
|
java.lang.String |
initRequest(Blackboard blackboard)
generate new request id and store blackboard.
|
void |
setPipeletException(java.lang.String requestId,
java.lang.Exception ex)
store a pipelet exception for better error reporting if the engine finally fails.
|
java.lang.String initRequest(Blackboard blackboard)
Blackboard getBlackboard(java.lang.String id) throws ProcessingException
id
- request IDProcessingException
- no blackboard associated with idjava.lang.Exception getPipeletException(java.lang.String requestId)
void setPipeletException(java.lang.String requestId, java.lang.Exception ex)
requestId
- id of requestex
- exception thrown during pipelet execution.void cleanupRequest(java.lang.String requestId)
MessageHelper getMessageHelper()