public class RequestTableImpl extends java.lang.Object implements RequestTable
| Constructor and Description |
|---|
RequestTableImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
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.
|
protected void activate()
public java.lang.String initRequest(Blackboard blackboard)
RequestTableinitRequest in interface RequestTablepublic Blackboard getBlackboard(java.lang.String id) throws ProcessingException
RequestTablegetBlackboard in interface RequestTableid - request IDProcessingException - no blackboard associated with idpublic java.lang.Exception getPipeletException(java.lang.String requestId)
RequestTablegetPipeletException in interface RequestTablepublic void setPipeletException(java.lang.String requestId,
java.lang.Exception ex)
RequestTablesetPipeletException in interface RequestTablerequestId - id of requestex - exception thrown during pipelet execution.public void cleanupRequest(java.lang.String requestId)
RequestTablecleanupRequest in interface RequestTablepublic MessageHelper getMessageHelper()
RequestTablegetMessageHelper in interface RequestTable