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)
RequestTable
initRequest
in interface RequestTable
public Blackboard getBlackboard(java.lang.String id) throws ProcessingException
RequestTable
getBlackboard
in interface RequestTable
id
- request IDProcessingException
- no blackboard associated with idpublic java.lang.Exception getPipeletException(java.lang.String requestId)
RequestTable
getPipeletException
in interface RequestTable
public void setPipeletException(java.lang.String requestId, java.lang.Exception ex)
RequestTable
setPipeletException
in interface RequestTable
requestId
- id of requestex
- exception thrown during pipelet execution.public void cleanupRequest(java.lang.String requestId)
RequestTable
cleanupRequest
in interface RequestTable
public MessageHelper getMessageHelper()
RequestTable
getMessageHelper
in interface RequestTable