Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


com.oracle.bpel.client
Interface IInstanceConstants

All Known Subinterfaces:
IInstanceHandle, IInstanceMetaData, ITestCaseInfo

public interface IInstanceConstants

Interface containing instance state constants.

Since:
2.0

Field Summary
static int PRIORITY_NORMAL
          Default priority value for instances.
static int STATE_CLOSED_ABORTED
          State value for an instance that has been aborted due to administrative control.
static int STATE_CLOSED_CANCELLED
          State value for an instance that has been cancelled.
static int STATE_CLOSED_COMPLETED
          State value for an instance that has been completed.
static int STATE_CLOSED_FAULTED
          State value for an instance that has an activity that has thrown an exception while the instance is being cancelled.
static int STATE_CLOSED_PENDING_CANCEL
          State value for an instance that has started its cancellation procedure.
static int STATE_CLOSED_STALE
          State value for an instance who's process has been changed since the process was last accessed.
static int STATE_INITIATED
          State value for an instance that has just been created.
static int STATE_OPEN_FAULTED
          State value for an instance that has an activity that has thrown an exception.
static int STATE_OPEN_RUNNING
          State value for an instance that has been created and has active activities executing.
static int STATE_OPEN_SUSPENDED
          State value for an instance that is unavailable.

 

Field Detail

STATE_INITIATED

static final int STATE_INITIATED
State value for an instance that has just been created. The instance will only have this value as its state after it has been created by the process domain.
Since:
1.0
See Also:
Constant Field Values

STATE_OPEN_RUNNING

static final int STATE_OPEN_RUNNING
State value for an instance that has been created and has active activities executing. The instance is not in an exception or error condition.
Since:
1.0
See Also:
Constant Field Values

STATE_OPEN_SUSPENDED

static final int STATE_OPEN_SUSPENDED
State value for an instance that is unavailable. Performers of any of the activities that belong to this instance cannot take any action until the instance has returned to the running state.
Since:
1.0
See Also:
Constant Field Values

STATE_OPEN_FAULTED

static final int STATE_OPEN_FAULTED
State value for an instance that has an activity that has thrown an exception. When an activity throws an exception, the instance is flagged as being in an exception state until the exception is bubbled up, caught and handled.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_PENDING_CANCEL

static final int STATE_CLOSED_PENDING_CANCEL
State value for an instance that has started its cancellation procedure. Since cancelling an instance may involve a great deal of business logic, the amount of time the entire cancellation process may take may be anywhere from seconds to days. During this time, the instance is said to be pending cancellation; an instance may not be acted upon during this time.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_COMPLETED

static final int STATE_CLOSED_COMPLETED
State value for an instance that has been completed. All activities belonging to this instance have also been completed.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_FAULTED

static final int STATE_CLOSED_FAULTED
State value for an instance that has an activity that has thrown an exception while the instance is being cancelled. This state is equivalent to STATE_OPEN_FAULTED except that when the exception is resolved, the state transitions back to CLOSED_PENDING_CANCEL rather than STATE_OPEN_RUNNING.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_CANCELLED

static final int STATE_CLOSED_CANCELLED
State value for an instance that has been cancelled. All activities belonging to this instance have also been cancelled.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_ABORTED

static final int STATE_CLOSED_ABORTED
State value for an instance that has been aborted due to administrative control. All activities belonging to this instance are also moved to the aborted state.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_STALE

static final int STATE_CLOSED_STALE
State value for an instance who's process has been changed since the process was last accessed. No actions may be performed on the instance. All activities that belong to this instance are also moved to the stale state.
Since:
1.2
See Also:
Constant Field Values

PRIORITY_NORMAL

static final int PRIORITY_NORMAL
Default priority value for instances.
See Also:
Constant Field Values

Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


Copyright © 2006, Oracle. All rights reserved.