|
not started
|
Hosting System launches the Hosted Application (e.g., run, exec).
|
IDLE
|
|
IDLE
|
Hosting System calls Application.setState (EXIT).
|
EXIT
|
|
IDLE
|
Hosting System calls Application.setState (INPROGRESS).
|
INPROGRESS
|
|
INPROGRESS
|
Hosting System calls Application.setState (SUSPENDED).
|
SUSPENDED
|
|
INPROGRESS
|
Hosting System calls Application.setState (CANCELED).
|
CANCELED
|
|
INPROGRESS
|
Hosted Application encounters an error that prevents further processing, but is still healthy enough to perhaps start another task. The Hosted Application shall report this error through a call to notifyStatus() with a statusType of FATALERROR prior to transitioning to the CANCELED state.
|
CANCELED
|
|
INPROGRESS
|
Hosted Application finishes its processing.
|
COMPLETED
|
|
SUSPENDED
|
Hosting System calls Application.setState (INPROGRESS).
|
INPROGRESS
|
|
SUSPENDED
|
Hosted Application encounters an error (e.g., during suspension) that prevents further processing, but is still healthy enough to perhaps start another task. The Hosted Application shall report this error through a call to notifyStatus() with a statusType of FATALERROR prior to transitioning to the CANCELED state.
|
CANCELED
|
|
SUSPENDED
|
Hosting System calls Application.setState (CANCELED).
|
CANCELED
|
|
COMPLETED
|
Hosting System calls Application.setState (IDLE), after capturing all pertinent output data from the Hosted Application.
|
IDLE
|
|
CANCELED
|
Hosted Application releases all resources and is ready for the next task.
|
IDLE
|