public class CompletionCoordinatorClient extends Object
Modifier and Type | Method and Description |
---|---|
static CompletionCoordinatorClient |
getClient()
Get the Completion Coordinator client singleton.
|
void |
sendCommit(W3CEndpointReference endpoint,
MAP map,
InstanceIdentifier identifier)
Send a commit request.
|
void |
sendRollback(W3CEndpointReference endpoint,
MAP map,
InstanceIdentifier identifier)
Send a rollback request.
|
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 static CompletionCoordinatorClient getClient()
Copyright © 2017 JBoss by Red Hat. All rights reserved.