// cm.addParticipant(new DemoXAParticipant(), Priorities.PARTICIPANT, null);
cm.addParticipant(new DemoXAParticipant(), 0, null);
System.out.println("\nEnding coordination.");
Outcome res = ua.end();
if (res instanceof XAOutcome)
{
XAOutcome out = (XAOutcome) res;