|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface APIEventHandlerPlugin4
This interface supports the creation of API event handlers.
API events occur when a human task changes its state or when a task property is updated. These events can be used by other components and applications to participate in state transitions of human tasks. Use the APIEventHandlerPlugin4 service provider interface (SPI) to create plug-ins to get informed about events sent by the API or the internal events that have equivalent API events.
To handle API events, the event handler is invoked directly before a modification is done (pre-event method) and after the modification is done (post-event method).
This interface provides for methods that are called as API pre- or
post-events (extends APIEventHandlerPlugin3
).
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
void |
postSetInputMessage(Task task,
java.io.Serializable inputMessage,
TaskException taskException)
This method is called after a "SET INPUT MESSAGE" request was executed. |
void |
postUpdateEscalation(Escalation escalation,
TaskException taskException)
This method is called after an "UPDATE ESCALATION" request was executed. |
void |
preSetInputMessage(Task task,
java.io.Serializable inputMessage)
This method is called before a "SET INPUT MESSAGE" request is executed. |
void |
preUpdateEscalation(Escalation escalation)
This method is called before an "UPDATE ESCALATION" request is executed. |
Methods inherited from interface com.ibm.task.spi.APIEventHandlerPlugin3 |
---|
postSuspendTaskUntil, postSuspendTaskUntil, postSuspendTaskWithCancelClaim, postSuspendTaskWithCancelClaim, preSuspendTaskUntil, preSuspendTaskUntil, preSuspendTaskWithCancelClaim, preSuspendTaskWithCancelClaim |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
void preSetInputMessage(Task task, java.io.Serializable inputMessage) throws ApplicationVetoException
task
- The task whose input message is to be set.inputMessage
- The input message.
ApplicationVetoException
- if the subsequent execution is to be abortedvoid postSetInputMessage(Task task, java.io.Serializable inputMessage, TaskException taskException)
task
- The task whose input message was requested to be set.inputMessage
- The input message.taskException
- The TaskException that occurred or null if no exception occurred.void preUpdateEscalation(Escalation escalation) throws ApplicationVetoException
escalation
- The escalation that will be updated.
ApplicationVetoException
- if the subsequent execution is to be abortedvoid postUpdateEscalation(Escalation escalation, TaskException taskException)
escalation
- The escalation that was requested to be updated.taskException
- The TaskException that occurred or null if no exception occurred.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |