SMILA 1.0 API documentation

org.eclipse.smila.processing.bpel
Interface RequestTable

All Known Implementing Classes:
RequestTableImpl

public interface RequestTable

service interface for the RequestTable service that keeps blackboard and pipelet exceptions during workflow execution.


Method Summary
 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.
 

Method Detail

initRequest

java.lang.String initRequest(Blackboard blackboard)
generate new request id and store blackboard.


getBlackboard

Blackboard getBlackboard(java.lang.String id)
                         throws ProcessingException
get blackboard service for request.

Parameters:
id - request ID
Returns:
blackboard service.
Throws:
ProcessingException - no blackboard associated with id

getPipeletException

java.lang.Exception getPipeletException(java.lang.String requestId)
get exception thrown by a pipelet in this pipeline.


setPipeletException

void setPipeletException(java.lang.String requestId,
                         java.lang.Exception ex)
store a pipelet exception for better error reporting if the engine finally fails.

Parameters:
requestId - id of request
ex - exception thrown during pipelet execution.

cleanupRequest

void cleanupRequest(java.lang.String requestId)
release blackboard and caught exception.


getMessageHelper

MessageHelper getMessageHelper()
get message helper.


SMILA 1.0 API documentation