org.obe.spi.event
Interface ProcessInstanceListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ProcessInstanceAdapter

public interface ProcessInstanceListener
extends java.util.EventListener

The listener interface for receiving process instance events.

Author:
Adrian Price

Field Summary
static int ABORTED_EVENT_MASK
          The event mask for selecting ProcessInstanceEvent.ABORTED events.
static int ALL_EVENT_MASK
          The event mask for selecting all events.
static int COMPLETED_EVENT_MASK
          The event mask for selecting ProcessInstanceEvent.COMPLETED events.
static int CREATED_EVENT_MASK
          The event mask for selecting ProcessInstanceEvent.CREATED events.
static int DELETED_EVENT_MASK
          The event mask for selecting ProcessInstanceEvent.DELETED events.
static int RESUMED_EVENT_MASK
          The event mask for selecting ProcessInstanceEvent.RESUMED events.
static int STARTED_EVENT_MASK
          The event mask for selecting ProcessInstanceEvent.STARTED events.
static int SUSPENDED_EVENT_MASK
          The event mask for selecting ProcessInstanceEvent.SUSPENDED events.
static int TERMINATED_EVENT_MASK
          The event mask for selecting ProcessInstanceEvent.TERMINATED events.
 
Method Summary
 void processInstanceAborted(ProcessInstanceEvent e)
          A process instance was aborted.
 void processInstanceCompleted(ProcessInstanceEvent e)
          A process instance was completed.
 void processInstanceCreated(ProcessInstanceEvent e)
          A process instance was created.
 void processInstanceDeleted(ProcessInstanceEvent e)
          A process instance was deleted.
 void processInstanceResumed(ProcessInstanceEvent e)
          A process instance was resumed.
 void processInstanceStarted(ProcessInstanceEvent e)
          A process instance was started.
 void processInstanceSuspended(ProcessInstanceEvent e)
          A process instance was suspended.
 void processInstanceTerminated(ProcessInstanceEvent e)
          A process instance was terminated.
 

Field Detail

ABORTED_EVENT_MASK

public static final int ABORTED_EVENT_MASK
The event mask for selecting ProcessInstanceEvent.ABORTED events.

See Also:
Constant Field Values

COMPLETED_EVENT_MASK

public static final int COMPLETED_EVENT_MASK
The event mask for selecting ProcessInstanceEvent.COMPLETED events.

See Also:
Constant Field Values

CREATED_EVENT_MASK

public static final int CREATED_EVENT_MASK
The event mask for selecting ProcessInstanceEvent.CREATED events.

See Also:
Constant Field Values

DELETED_EVENT_MASK

public static final int DELETED_EVENT_MASK
The event mask for selecting ProcessInstanceEvent.DELETED events.

See Also:
Constant Field Values

RESUMED_EVENT_MASK

public static final int RESUMED_EVENT_MASK
The event mask for selecting ProcessInstanceEvent.RESUMED events.

See Also:
Constant Field Values

STARTED_EVENT_MASK

public static final int STARTED_EVENT_MASK
The event mask for selecting ProcessInstanceEvent.STARTED events.

See Also:
Constant Field Values

SUSPENDED_EVENT_MASK

public static final int SUSPENDED_EVENT_MASK
The event mask for selecting ProcessInstanceEvent.SUSPENDED events.

See Also:
Constant Field Values

TERMINATED_EVENT_MASK

public static final int TERMINATED_EVENT_MASK
The event mask for selecting ProcessInstanceEvent.TERMINATED events.

See Also:
Constant Field Values

ALL_EVENT_MASK

public static final int ALL_EVENT_MASK
The event mask for selecting all events.

See Also:
Constant Field Values
Method Detail

processInstanceAborted

public void processInstanceAborted(ProcessInstanceEvent e)
A process instance was aborted.

Parameters:
e - The process instance event.

processInstanceCompleted

public void processInstanceCompleted(ProcessInstanceEvent e)
A process instance was completed.

Parameters:
e - The process instance event.

processInstanceCreated

public void processInstanceCreated(ProcessInstanceEvent e)
A process instance was created.

Parameters:
e - The process instance event.

processInstanceDeleted

public void processInstanceDeleted(ProcessInstanceEvent e)
A process instance was deleted. N.B. This method is called before the instance is physically deleted, in order for a listener to access the source process instance before it has been deleted.

Parameters:
e - The process instance event.

processInstanceResumed

public void processInstanceResumed(ProcessInstanceEvent e)
A process instance was resumed.

Parameters:
e - The process instance event.

processInstanceStarted

public void processInstanceStarted(ProcessInstanceEvent e)
A process instance was started.

Parameters:
e - The process instance event.

processInstanceSuspended

public void processInstanceSuspended(ProcessInstanceEvent e)
A process instance was suspended.

Parameters:
e - The process instance event.

processInstanceTerminated

public void processInstanceTerminated(ProcessInstanceEvent e)
A process instance was terminated.

Parameters:
e - The process instance event.


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.