|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.mw.wscf.model.twophase.outcomes.CoordinationOutcome
public class CoordinationOutcome
The CoordinationOutcome represents the final outcome of the coordination event. The CompletionStatus and the actual two-phase status value are returned.
Constructor Summary | |
---|---|
CoordinationOutcome(CompletionStatus s,
int twophase)
|
|
CoordinationOutcome(int twophase)
|
Method Summary | |
---|---|
CompletionStatus |
completedStatus()
The state in which the activity completed. |
Object |
data()
Outcome specific information that can be used to determine finer level details about the outcome instance. |
String |
name()
Give a name for this outcome. |
int |
result()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoordinationOutcome(int twophase)
public CoordinationOutcome(CompletionStatus s, int twophase)
Method Detail |
---|
public final int result()
TwoPhaseResult
public String name() throws SystemException
name
in interface Outcome
SystemException
- Thrown if an error occurs.public CompletionStatus completedStatus() throws SystemException
completedStatus
in interface Outcome
SystemException
- Thrown if an error occurs.public Object data() throws SystemException
data
in interface Outcome
SystemException
- Thrown if an error occurs.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |