public class InterfaceX_EngineSideClient extends Interface_Client implements ExceptionGateway
| Modifier and Type | Field and Description |
|---|---|
protected static int |
NOTIFY_CANCELLED_CASE |
protected static int |
NOTIFY_CHECK_CASE_CONSTRAINTS |
protected static int |
NOTIFY_CHECK_ITEM_CONSTRAINTS |
protected static int |
NOTIFY_CONSTRAINT_VIOLATION |
protected static int |
NOTIFY_RESOURCE_UNAVAILABLE |
protected static int |
NOTIFY_TIMEOUT |
protected static int |
NOTIFY_WORKITEM_ABORT |
| Constructor and Description |
|---|
InterfaceX_EngineSideClient(java.lang.String observerURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
announceCaseCancellation(java.lang.String caseID)
Announced by the engine when a case has been cancelled
|
void |
announceCheckCaseConstraints(YSpecificationID specID,
java.lang.String caseID,
java.lang.String data,
boolean preCheck)
Announced by the engine when a case begins or completes to allow for the
checking of pre & post constraints.
|
void |
announceCheckWorkItemConstraints(YWorkItem item,
Document data,
boolean preCheck)
Announced by the engine when a new workitem gets enabled to allow for the
checking of pre & post constraints.
|
void |
announceConstraintViolation(YWorkItem item)
FOR FUTURE IMPLEMENTATION
|
void |
announceTimeOut(YWorkItem item,
java.util.List taskList)
Announced by the engine when a workitem has reached a deadline.
|
void |
announceWorkitemAbort(YWorkItem item)
Announced by the engine when a work item has been checked out and then
declined (returned) by a service (before completion)
|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getScheme()
Indicates which protocol this shim services
|
java.lang.String |
getURI() |
int |
hashCode() |
void |
setURI(java.lang.String uri) |
void |
shutdown()
Called when the Engine is shutdown (servlet destroyed); the listener should
to do its own finalisation processing
|
executeGet, executePost, getReply, initPostConnection, prepareParamMap, send, setReadTimeout, stripOuterElement, successfulprotected static final int NOTIFY_CHECK_CASE_CONSTRAINTS
protected static final int NOTIFY_CHECK_ITEM_CONSTRAINTS
protected static final int NOTIFY_WORKITEM_ABORT
protected static final int NOTIFY_TIMEOUT
protected static final int NOTIFY_RESOURCE_UNAVAILABLE
protected static final int NOTIFY_CONSTRAINT_VIOLATION
protected static final int NOTIFY_CANCELLED_CASE
public InterfaceX_EngineSideClient(java.lang.String observerURI)
public java.lang.String getScheme()
getScheme in interface ExceptionGatewaypublic void setURI(java.lang.String uri)
public java.lang.String getURI()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void announceCheckWorkItemConstraints(YWorkItem item, Document data, boolean preCheck)
ExceptionGatewayannounceCheckWorkItemConstraints in interface ExceptionGatewayitem - - the enabled workitemdata - - the workitem's datapreCheck - - true if before item execution, false if afterpublic void announceCheckCaseConstraints(YSpecificationID specID, java.lang.String caseID, java.lang.String data, boolean preCheck)
ExceptionGatewayannounceCheckCaseConstraints in interface ExceptionGatewayspecID - - the id of the specfication of which the case is an instancecaseID - - the id of the casedata - - the case's datapreCheck - - true if before item execution, false if afterpublic void announceWorkitemAbort(YWorkItem item)
ExceptionGatewayannounceWorkitemAbort in interface ExceptionGatewayitem - the aborted itempublic void announceTimeOut(YWorkItem item, java.util.List taskList)
ExceptionGatewayannounceTimeOut in interface ExceptionGatewayitem - - the timed out workitem (associated with the timeService)taskList - - a list of tasks running in parallel with the timedout workitempublic void announceConstraintViolation(YWorkItem item)
ExceptionGatewayannounceConstraintViolation in interface ExceptionGatewaypublic void announceCaseCancellation(java.lang.String caseID)
ExceptionGatewayannounceCaseCancellation in interface ExceptionGatewaycaseID - - the cancelled casepublic void shutdown()
shutdown in interface ExceptionGatewayCopyright © 2004-2014 The YAWL Foundation.