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 IActivityConstants

All Known Subinterfaces:
IActivityHandle, IActivityMetaData

public interface IActivityConstants

Interface containing activity state and performer constants.

Since:
2.0

Field Summary
static int EXECUTION_TYPE_NORMAL
          Execution type for activities that should be performed immediately.
static int EXECUTION_TYPE_SCHEDULABLE
          Execution type for activities that need to be scheduled to be performed at a specific date and time.
static java.lang.String PERFORMER_ID_NOOP
          Performer id for no-op activities.
static java.lang.String PERFORMER_ID_SYSTEM
          Performer id for activities that are performed automatically by the system.
static int STATE_CLOSED_ABORTED
          State value for an activity that has been aborted due to administrative control.
static int STATE_CLOSED_CANCELLED
          State value for an activity that has been cancelled due to scope closure.
static int STATE_CLOSED_COMPENSATED
          State value for an activity that has been successfully completed but must be compensated due to an exception in a parent block.
static int STATE_CLOSED_COMPLETED
          State value for an activity that has been successfully completed without error by a performer.
static int STATE_CLOSED_FAULTED
          State value for an activity that has thrown an exception and has been closed as a result.
static int STATE_CLOSED_FINALIZED
          State value for an activity that has been successfully finalized.
static int STATE_CLOSED_PENDING_CANCEL
          State value for an activity that has started its cancellation procedure.
static int STATE_CLOSED_STALE
          State value for an activity who's process has been changed since the activity's instance was last accessed.
static int STATE_INACTIVE
          State value for an activity that has just been created.
static int STATE_OPEN_ACTIVE
          State value for an activity that has been persisted in the database (activated) and may be acted upon by a performer.
static int STATE_OPEN_FAULTED
          State value for an activity that has thrown an exception but has not yet been closed.
static int STATE_OPEN_PENDING_COMPLETE
          State value for an activity that has started to be performed (by a remote asynchronous performer) and is waiting for a callback from the performer to signal that it is complete.
static int STATE_OPEN_SUSPENDED
          State value for an activity that has been suspended.

 

Field Detail

STATE_INACTIVE

static final int STATE_INACTIVE
State value for an activity that has just been created. This state is transient and is not persisted in the database.
Since:
1.0
See Also:
Constant Field Values

STATE_OPEN_ACTIVE

static final int STATE_OPEN_ACTIVE
State value for an activity that has been persisted in the database (activated) and may be acted upon by a performer.
Since:
1.0
See Also:
Constant Field Values

STATE_OPEN_SUSPENDED

static final int STATE_OPEN_SUSPENDED
State value for an activity that has been suspended. Performers assigned to this activity will not be able to modify this activity until it has been resumed.
Since:
1.0
See Also:
Constant Field Values

STATE_OPEN_PENDING_COMPLETE

static final int STATE_OPEN_PENDING_COMPLETE
State value for an activity that has started to be performed (by a remote asynchronous performer) and is waiting for a callback from the performer to signal that it is complete.
Since:
1.0
See Also:
Constant Field Values

STATE_OPEN_FAULTED

static final int STATE_OPEN_FAULTED
State value for an activity that has thrown an exception but has not yet been closed. An activity that has thrown an exception cannot be closed until an enclosing block that can handle the exception has been found.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_COMPLETED

static final int STATE_CLOSED_COMPLETED
State value for an activity that has been successfully completed without error by a performer. Activitiess that are completed may be compensated if an exception in a block causes all activities to be rolled back.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_FINALIZED

static final int STATE_CLOSED_FINALIZED
State value for an activity that has been successfully finalized. Once an activity has been completed, all dependencies to the performer are removed; the finalized state is available for the system to perform any last-minute actions on the activity.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_PENDING_CANCEL

static final int STATE_CLOSED_PENDING_CANCEL
State value for an activity that has started its cancellation procedure. Since cancelling an activity 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 activity is said to be pending cancellation; an activity may not be acted upon during this time.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_CANCELLED

static final int STATE_CLOSED_CANCELLED
State value for an activity that has been cancelled due to scope closure. If a scope is closed due to either a successful until or handleException call on the parent block, all activities created within the enclosed blocks must be cancelled. Cancelled activities cannot be compensated like completed activities.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_FAULTED

static final int STATE_CLOSED_FAULTED
State value for an activity that has thrown an exception and has been closed as a result. Once the thrown exception has been handled by an enclosing block the activity that threw the exception is marked as STATE_CLOSED_FAULTED while those activities that were closed as a result of an enclosing block closure are transitioned to STATE_CLOSED_CANCELLED.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_ABORTED

static final int STATE_CLOSED_ABORTED
State value for an activity that has been aborted due to administrative control. The performer of the activity will not be contacted in this case; abort is available only as an administrative function.
Since:
1.0
See Also:
Constant Field Values

STATE_CLOSED_COMPENSATED

static final int STATE_CLOSED_COMPENSATED
State value for an activity that has been successfully completed but must be compensated due to an exception in a parent block. Once an activity has been compensated, it cannot be moved to another state; activities cannot be undone/redone.
Since:
1.0
See Also:
STATE_CLOSED_COMPLETED, Constant Field Values

STATE_CLOSED_STALE

static final int STATE_CLOSED_STALE
State value for an activity who's process has been changed since the activity's instance was last accessed. No actions may be performed on the activity or the instance.
Since:
1.2
See Also:
Constant Field Values

EXECUTION_TYPE_NORMAL

static final int EXECUTION_TYPE_NORMAL
Execution type for activities that should be performed immediately. This flag is used internally by the BPEL server to schedule an activity for execution.
See Also:
Constant Field Values

EXECUTION_TYPE_SCHEDULABLE

static final int EXECUTION_TYPE_SCHEDULABLE
Execution type for activities that need to be scheduled to be performed at a specific date and time. This flag is used internally by the BPEL server to schedule an activity for execution.
See Also:
Constant Field Values

PERFORMER_ID_SYSTEM

static final java.lang.String PERFORMER_ID_SYSTEM
Performer id for activities that are performed automatically by the system.
Since:
2.0
See Also:
Constant Field Values

PERFORMER_ID_NOOP

static final java.lang.String PERFORMER_ID_NOOP
Performer id for no-op activities.
Since:
2.0
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.