use of com.jboss.transaction.txinterop.webservices.bainterop.participant.CompletedParticipant in project narayana by jbosstm.
the class BAParticipantProcessor method participantCancelCompletedRace.
/**
* Execute the ParticipantCancelCompletedRace
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void participantCancelCompletedRace(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final CompletedParticipant participant = new CompletedParticipant();
final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString());
participant.setEngine(engine);
participant.initialiseTimeout();
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
use of com.jboss.transaction.txinterop.webservices.bainterop.participant.CompletedParticipant in project narayana by jbosstm.
the class BAParticipantProcessor method unsolicitedComplete.
/**
* Execute the UnsolicitedComplete
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void unsolicitedComplete(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final CompletedParticipant participant = new CompletedParticipant();
final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString());
participant.setEngine(engine);
participant.initialiseTimeout();
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
use of com.jboss.transaction.txinterop.webservices.bainterop.participant.CompletedParticipant in project narayana by jbosstm.
the class BAParticipantProcessor method participantCompleteClose.
/**
* Execute the ParticipantCompleteClose
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void participantCompleteClose(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final CompletedParticipant participant = new CompletedParticipant();
final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString());
participant.setEngine(engine);
participant.initialiseTimeout();
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
use of com.jboss.transaction.txinterop.webservices.bainterop.participant.CompletedParticipant in project narayana by jbosstm.
the class BAParticipantProcessor method compensate.
/**
* Execute the Compensate
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void compensate(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final CompletedParticipant participant = new CompletedParticipant();
final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString());
participant.setEngine(engine);
participant.initialiseTimeout();
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
Aggregations