org.yawlfoundation.yawl.engine.interfce.interfaceX
Interface InterfaceX_Service

All Known Implementing Classes:
CostService, ExceptionService

public interface InterfaceX_Service

The interface InterfaceX_Service defines the exception event methods that are passed from the engine to the exception service. It is designed to be implemented by the exception service class. This interface def is a member of Interface X, which provides an interface between the YAWL Engine and a Custom YAWL Service that manages exception handling at the process level. Schematic of Interface X: | EXCEPTION | INTERFACE X GATEWAY | SERVICE (implements) | | (implements) | | | | +==========+ -----> ENGINE-SIDE ---|--> SERVICE-SIDE -----> +=============+ || YAWL || CLIENT | SERVER || EXCEPTION || || ENGINE || | || SERVICE || +==========+ <----- ENGINE-SIDE <--|--- SERVICE-SIDE <----- +=============+ SERVER | CLIENT |

Version:
0.8, 07/06/2006
Author:
Michael Adams |

Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void handleCaseCancellationEvent(String caseID)
           
 void handleCheckCaseConstraintEvent(YSpecificationID specID, String caseID, String data, boolean precheck)
           
 void handleCheckWorkItemConstraintEvent(WorkItemRecord wir, String data, boolean precheck)
           
 String handleConstraintViolationException(WorkItemRecord wir, String caseData)
           
 void handleResourceUnavailableException(String resourceID, WorkItemRecord wir, String caseData, boolean primary)
           
 void handleTimeoutEvent(WorkItemRecord wir, String taskList)
           
 String handleWorkItemAbortException(WorkItemRecord wir, String caseData)
           
 

Method Detail

handleCheckCaseConstraintEvent

void handleCheckCaseConstraintEvent(YSpecificationID specID,
                                    String caseID,
                                    String data,
                                    boolean precheck)

handleCheckWorkItemConstraintEvent

void handleCheckWorkItemConstraintEvent(WorkItemRecord wir,
                                        String data,
                                        boolean precheck)

handleWorkItemAbortException

String handleWorkItemAbortException(WorkItemRecord wir,
                                    String caseData)

handleTimeoutEvent

void handleTimeoutEvent(WorkItemRecord wir,
                        String taskList)

handleResourceUnavailableException

void handleResourceUnavailableException(String resourceID,
                                        WorkItemRecord wir,
                                        String caseData,
                                        boolean primary)

handleConstraintViolationException

String handleConstraintViolationException(WorkItemRecord wir,
                                          String caseData)

handleCaseCancellationEvent

void handleCaseCancellationEvent(String caseID)

doGet

void doGet(javax.servlet.http.HttpServletRequest request,
           javax.servlet.http.HttpServletResponse response)
           throws IOException,
                  javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2012 The YAWL Foundation.