use of com.arjuna.webservices11.SoapFault11 in project narayana by jbosstm.
the class BAParticipantProcessor method fail.
/**
* Execute the Fail
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void fail(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final FailParticipant participant = new FailParticipant();
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.arjuna.webservices11.SoapFault11 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.arjuna.webservices11.SoapFault11 in project narayana by jbosstm.
the class BAParticipantProcessor method participantCompensationFail.
/**
* Execute the ParticipantCompensationFail
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void participantCompensationFail(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final FailedCompensateParticipant participant = new FailedCompensateParticipant();
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.arjuna.webservices11.SoapFault11 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.arjuna.webservices11.SoapFault11 in project narayana by jbosstm.
the class BAParticipantProcessor method exit.
/**
* Execute the Exit
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void exit(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final ExitParticipant participant = new ExitParticipant();
final CoordinatorCompletionParticipantEngine engine = BAInteropUtil.registerCoordinatorCompletion(coordinationContext, participant, new Uid().toString());
participant.setEngine(engine);
participant.initialiseTimeout();
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
Aggregations