|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IWorklistMonitor
An implementor of this interface can provide a worklist monitor which will be informed about changes
to the worklist.
Be aware that the notifications are not TX save: You will be informed even if later in TX a rollback
will happen and the change is not commited to DB.
To publish an implementor to the engine a file named by the interface's factory has to be created in
the '/META-INF/services' folder of the jar.
In this case: org.eclipse.stardust.engine.core.spi.monitoring.IWorklistMonitor
This file needs to contain the qualified class name of the implementor of this interface.
This pattern follows the concept of the JDK6 ServiceLoader.
| Method Summary | |
|---|---|
void |
addedToWorklist(org.eclipse.stardust.engine.api.model.IParticipant participant,
org.eclipse.stardust.engine.core.runtime.beans.IActivityInstance activityInstance)
Will be called at the end of transaction when the currentPerformer of activity instance has changed and is not null. |
void |
removedFromWorklist(org.eclipse.stardust.engine.api.model.IParticipant participant,
org.eclipse.stardust.engine.core.runtime.beans.IActivityInstance activityInstance)
Will be called at the end of transaction when previousPerformer of activity instance has changed and is not null. |
| Method Detail |
|---|
void addedToWorklist(org.eclipse.stardust.engine.api.model.IParticipant participant,
org.eclipse.stardust.engine.core.runtime.beans.IActivityInstance activityInstance)
participant - the participant to whose worklist the activity instance has been added.activityInstance - the activity instance which is affected.
void removedFromWorklist(org.eclipse.stardust.engine.api.model.IParticipant participant,
org.eclipse.stardust.engine.core.runtime.beans.IActivityInstance activityInstance)
participant - the participant from whose worklist the activity instance has been removed.activityInstance - the activity instance which is affected.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||