use of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType in project narayana by jbosstm.
the class AsyncParticipantClient method sendEarlyAborted.
/**
* Send a earlyAborted request.
* @param coordinationContext The coordination context.
* @param map The addressing context initialised with to, message ID and relates to.
* @throws SoapFault For any errors.
* @throws IOException for any transport errors.
*/
public void sendEarlyAborted(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault, IOException {
map.setReplyTo(initiator);
ParticipantPortType port = InteropClient.getParticipantPort(map, earlyAbortedAction);
CoordinationContextManager.setThreadContext(coordinationContext);
try {
port.earlyAborted();
} finally {
CoordinationContextManager.setThreadContext(null);
}
}
use of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType in project narayana by jbosstm.
the class AsyncParticipantClient method sendReplayCommit.
/**
* Send a replayCommit request.
* @param coordinationContext The coordination context.
* @param map The addressing context initialised with to, message ID and relates to.
* @throws SoapFault For any errors.
* @throws IOException for any transport errors.
*/
public void sendReplayCommit(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault, IOException {
map.setReplyTo(initiator);
ParticipantPortType port = InteropClient.getParticipantPort(map, replayCommitAction);
CoordinationContextManager.setThreadContext(coordinationContext);
try {
port.replayCommit();
} finally {
CoordinationContextManager.setThreadContext(null);
}
}
use of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType in project narayana by jbosstm.
the class AsyncParticipantClient method sendLostCommitted.
/**
* Send a lostCommitted request.
* @param coordinationContext The coordination context.
* @param map The addressing context initialised with to, message ID and relates to.
* @throws SoapFault For any errors.
* @throws IOException for any transport errors.
*/
public void sendLostCommitted(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault, IOException {
map.setReplyTo(initiator);
ParticipantPortType port = InteropClient.getParticipantPort(map, lostCommittedAction);
CoordinationContextManager.setThreadContext(coordinationContext);
try {
port.lostCommitted();
} finally {
CoordinationContextManager.setThreadContext(null);
}
}
use of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType in project narayana by jbosstm.
the class AsyncParticipantClient method sendPreparedAfterTimeout.
/**
* Send a preparedAfterTimeout request.
* @param coordinationContext The coordination context.
* @param map The addressing context initialised with to, message ID and relates to.
* @throws SoapFault For any errors.
* @throws IOException for any transport errors.
*/
public void sendPreparedAfterTimeout(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault, IOException {
map.setReplyTo(initiator);
ParticipantPortType port = InteropClient.getParticipantPort(map, preparedAfterTimeoutAction);
CoordinationContextManager.setThreadContext(coordinationContext);
try {
port.preparedAfterTimeout();
} finally {
CoordinationContextManager.setThreadContext(null);
}
}
use of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType in project narayana by jbosstm.
the class AsyncParticipantClient method sendRetryPreparedCommit.
/**
* Send a retryPreparedCommit request.
* @param coordinationContext The coordination context.
* @param map The addressing context initialised with to, message ID and relates to.
* @throws SoapFault For any errors.
* @throws IOException for any transport errors.
*/
public void sendRetryPreparedCommit(final CoordinationContextType coordinationContext, final MAP map) throws SoapFault, IOException {
map.setReplyTo(initiator);
ParticipantPortType port = InteropClient.getParticipantPort(map, retryPreparedCommitAction);
CoordinationContextManager.setThreadContext(coordinationContext);
try {
port.retryPreparedCommit();
} finally {
CoordinationContextManager.setThreadContext(null);
}
}
Aggregations