public class ParticipantClient extends Object
| Constructor and Description |
|---|
ParticipantClient() |
| Modifier and Type | Method and Description |
|---|---|
static ParticipantClient |
getClient()
Get the Completion Coordinator client singleton.
|
void |
sendCommit(W3CEndpointReference endpoint,
MAP map,
InstanceIdentifier identifier)
Send a commit request.
|
void |
sendPrepare(W3CEndpointReference endpoint,
MAP map,
InstanceIdentifier identifier)
Send a prepare request.
|
void |
sendRollback(W3CEndpointReference endpoint,
MAP map,
InstanceIdentifier identifier)
Send a rollback request.
|
void |
sendSoapFault(MAP map,
SoapFault soapFault,
InstanceIdentifier identifier)
Send a fault.
|
public void sendPrepare(W3CEndpointReference endpoint, MAP map, InstanceIdentifier identifier) throws SoapFault, IOException
map - addressing context initialised with to and message ID.identifier - The identifier of the initiator.SoapFault - For any errors.IOException - for any transport errors.public void sendCommit(W3CEndpointReference endpoint, MAP map, InstanceIdentifier identifier) throws SoapFault, IOException
map - addressing context initialised with to and message ID.identifier - The identifier of the initiator.SoapFault - For any errors.IOException - for any transport errors.public void sendRollback(W3CEndpointReference endpoint, MAP map, InstanceIdentifier identifier) throws SoapFault, IOException
map - addressing context initialised with to and message ID.identifier - The identifier of the initiator.SoapFault - For any errors.IOException - for any transport errors.public void sendSoapFault(MAP map, SoapFault soapFault, InstanceIdentifier identifier) throws SoapFault, IOException
map - The addressing context.soapFault - The SOAP fault.identifier - The arjuna instance identifier.SoapFault - For any errors.IOException - for any transport errors.public static ParticipantClient getClient()
Copyright © 2017 JBoss by Red Hat. All rights reserved.