|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.jass.hls.ont.ONTCompletionSS
Implements the ONT completion signal set. It is triggered when a ONT activity ends. The ONT signal set provides the activity_committed and activity_rolledback signals, and responds appropriately to the outcomes that are generated in response to those signals.
| Field Summary | |
static java.lang.String |
COMPLETION_SS_NAME
|
| Constructor Summary | |
ONTCompletionSS()
ONT completion signal set constructor. |
|
| Method Summary | |
void |
destroy()
Clears the main attributes. |
int |
getCompletionStatus()
Returns the completion status for the activity as the SignalSet has recorded it. |
javax.activity.Outcome |
getOutcome()
Returns the consolidated outcome of the signal set following the completion of signaling. |
javax.activity.Signal |
getSignal()
Returns the next signal to be sent to the actions registered for the ONT completion signal set. |
java.lang.String |
getSignalSetName()
Returns the name of the target SignalSet. |
void |
setActivityCoordinator(javax.activity.ActivityCoordinator coord)
Sets the activity coordinator for this instance. |
void |
setCompletionStatus(int completionStatus,
int status)
Set both the completion status and status before any signals are requested. |
javax.activity.CoordinationInformation |
setResponse(javax.activity.Outcome response)
Called by an ActivityCoordinator to notify the target SignalSet of the Outcome returned by an Action in response to a signal produced by the ONT signal set. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String COMPLETION_SS_NAME
| Constructor Detail |
public ONTCompletionSS()
| Method Detail |
public java.lang.String getSignalSetName()
getSignalSetName in interface javax.activity.coordination.SignalSetpublic javax.activity.Signal getSignal()
getSignal in interface javax.activity.coordination.SignalSet
public javax.activity.CoordinationInformation setResponse(javax.activity.Outcome response)
throws javax.activity.SignalSetInactiveException
setResponse in interface javax.activity.coordination.SignalSetjavax.activity.SignalSetInactiveException
public javax.activity.Outcome getOutcome()
throws javax.activity.SignalSetActiveException
getOutcome in interface javax.activity.coordination.SignalSetjavax.activity.SignalSetActiveException
public void setCompletionStatus(int completionStatus,
int status)
setCompletionStatus in interface javax.activity.coordination.SignalSet
public int getCompletionStatus()
throws javax.activity.SignalSetActiveException
getCompletionStatus in interface javax.activity.coordination.SignalSetjavax.activity.SignalSetActiveException
public void setActivityCoordinator(javax.activity.ActivityCoordinator coord)
throws javax.activity.SignalSetActiveException
setActivityCoordinator in interface javax.activity.coordination.SignalSetjavax.activity.SignalSetActiveExceptionpublic void destroy()
destroy in interface javax.activity.coordination.SignalSet
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||