|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jass.hls.ont.CompensatingAction
Implements the compensating action required by the ONT model. It may receive the activity_committed and the activity_rollback signals, performing the required tasks in each case.
Constructor Summary | |
CompensatingAction(javax.activity.opennested.Compensator compensator,
int priority)
Constructor. |
Method Summary | |
void |
destroy()
Clears the main attributes. |
javax.activity.Outcome |
processSignal(javax.activity.Signal signal)
Invoked on the target object, by the AS, during signal processing. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompensatingAction(javax.activity.opennested.Compensator compensator, int priority)
compensator
- - the element that compensates a previous task.priority
- - compensator priority.Method Detail |
public javax.activity.Outcome processSignal(javax.activity.Signal signal) throws javax.activity.ActionErrorException
processSignal
in interface javax.activity.coordination.Action
javax.activity.ActionErrorException
public void destroy()
destroy
in interface javax.activity.coordination.Action
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |