use of com.jboss.transaction.wstf.webservices.sc007.participant.ReadonlyDurable2PCParticipant in project narayana by jbosstm.
the class ParticipantProcessor method readonly.
/**
* Execute the Readonly
* @param map The current addressing context.
* @throws SoapFault11 for errors during processing
*/
public void readonly(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault11 {
try {
InteropUtil.registerDurable2PC(coordinationContext, new ReadonlyDurable2PCParticipant(), new Uid().toString());
InteropUtil.registerDurable2PC(coordinationContext, new CommitDurable2PCParticipant(), new Uid().toString());
} catch (final Throwable th) {
throw new SoapFault11(th);
}
}
Aggregations