use of com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitVolatile2PCParticipant in project narayana by jbosstm.
the class ATParticipantProcessor method earlyReadonly.
/**
* Execute the EarlyReadonly
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void earlyReadonly(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final ParticipantEngine engine = ATInteropUtil.registerVolatile2PC(coordinationContext, new CommitVolatile2PCParticipant(), new Uid().toString());
ATInteropUtil.registerDurable2PC(coordinationContext, new CommitDurable2PCParticipant(), new Uid().toString());
engine.earlyReadonly();
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
use of com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitVolatile2PCParticipant in project narayana by jbosstm.
the class ATParticipantProcessor method phase2Rollback.
/**
* Execute the Phase2Rollback
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void phase2Rollback(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
ATInteropUtil.registerVolatile2PC(coordinationContext, new CommitVolatile2PCParticipant(), new Uid().toString());
ATInteropUtil.registerDurable2PC(coordinationContext, new RollbackDurable2PCParticipant(), new Uid().toString());
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
use of com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitVolatile2PCParticipant in project narayana by jbosstm.
the class ATParticipantProcessor method earlyAborted.
/**
* Execute the EarlyAborted
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void earlyAborted(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
final ParticipantEngine engine = ATInteropUtil.registerVolatile2PC(coordinationContext, new CommitVolatile2PCParticipant(), new Uid().toString());
ATInteropUtil.registerDurable2PC(coordinationContext, new CommitDurable2PCParticipant(), new Uid().toString());
engine.earlyRollback();
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
use of com.jboss.transaction.txinterop.webservices.atinterop.participant.CommitVolatile2PCParticipant in project narayana by jbosstm.
the class ATParticipantProcessor method preparedAfterTimeout.
/**
* Execute the PreparedAfterTimeout
* @param map The current addressing context.
*
* @throws SoapFault11 for errors during processing
*/
public void preparedAfterTimeout(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
ATInteropUtil.registerVolatile2PC(coordinationContext, new CommitVolatile2PCParticipant(), new Uid().toString());
ATInteropUtil.registerDurable2PC(coordinationContext, new CommitDurable2PCParticipant(), new Uid().toString());
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
Aggregations