Bug 5832 - Remove InternalStateEnumeration from schema in Gram 4.2
: Remove InternalStateEnumeration from schema in Gram 4.2
Status: RESOLVED FIXED
: GRAM
wsrf managed execution job service
: alpha
: Macintosh All
: P2 normal
: 4.2
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-02-05 12:34 by
Modified: 2008-02-06 14:24 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-02-05 12:34:28
It's not necessary to expose the internal states in our schema.
An enum type wll be used instead now which contains all internal states.

Advantages:
* This makes it easy to set up handlers in the new StateMachine and
  we can skip reflection code in the look up of a handler for an internal
  state in the StateMachine.
* The use of enum easily enables a priority queue so that jobs who are
  in a more advanced state are processed first.