CoordinatorCompletionParticipantClient
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.arjuna.webservices11.wsba.client.CoordinatorCompletionParticipantClient(Showing top 15 results out of 315)

origin: org.jboss.narayana.xts/jbossxts

/**
 * Send a close request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendClose(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, closeAction);
  NotificationType close = new NotificationType();
  port.closeOperation(close);
}
origin: org.jboss.narayana.xts/jbossxts

/**
 * Send an exited request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendNotCompleted(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, notCompletedAction);
  NotificationType notCompleted = new NotificationType();
  port.notCompleted(notCompleted);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send an exited request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendExited(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, exitedAction);
  NotificationType exit = new NotificationType();
  port.exitedOperation(exit);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send a compensate request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendCompensate(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, compensateAction);
  NotificationType compensate = new NotificationType();
  port.compensateOperation(compensate);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send a get status request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendGetStatus(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, getStatusAction);
  NotificationType getStatus = new NotificationType();
  port.getStatusOperation(getStatus);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send a failed request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendFailed(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, failedAction);
  NotificationType failed = new NotificationType();
  port.failedOperation(failed);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send a cancel request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendCancel(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, cancelAction);
  NotificationType cancel = new NotificationType();
  port.cancelOperation(cancel);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send a close request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendClose(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, closeAction);
  NotificationType close = new NotificationType();
  port.closeOperation(close);
}
origin: org.jboss.narayana.xts/jbossxts

/**
 * Send a close request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendClose(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, closeAction);
  NotificationType close = new NotificationType();
  port.closeOperation(close);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send an exited request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendNotCompleted(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, notCompletedAction);
  NotificationType notCompleted = new NotificationType();
  port.notCompleted(notCompleted);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send a compensate request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendCompensate(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, compensateAction);
  NotificationType compensate = new NotificationType();
  port.compensateOperation(compensate);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send a cancel request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendCancel(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, cancelAction);
  NotificationType cancel = new NotificationType();
  port.cancelOperation(cancel);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Send a close request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendClose(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFromFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, closeAction);
  NotificationType close = new NotificationType();
  port.closeOperation(close);
}
origin: jbosstm/narayana

/**
 * Send an exited request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendExited(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, exitedAction);
  NotificationType exit = new NotificationType();
  port.exitedOperation(exit);
}
origin: jbosstm/narayana

/**
 * Send a failed request.
 * @param map addressing context initialised with to and message ID.
 * @param identifier The identifier of the initiator.
 * @throws com.arjuna.webservices.SoapFault For any errors.
 * @throws java.io.IOException for any transport errors.
 */
public void sendFailed(W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier)
  throws SoapFault, IOException
{
  MAPEndpoint coordinator = getCoordinator(endpoint, map);
  AddressingHelper.installFaultTo(map, coordinator, identifier);
  BusinessAgreementWithCoordinatorCompletionParticipantPortType port;
  port = getPort(endpoint, map, failedAction);
  NotificationType failed = new NotificationType();
  port.failedOperation(failed);
}
com.arjuna.webservices11.wsba.clientCoordinatorCompletionParticipantClient

Javadoc

The Client side of the Coordinator Participant Coordinator.

Most used methods

  • getClient
    Get the Completion Coordinator client singleton.
  • getCoordinator
    return a coordinator endpoint appropriate to the type of participant
  • getPort
    obtain a port from the participant endpoint configured with the instance identifier handler and the
  • sendCancel
    Send a cancel request.
  • sendClose
    Send a close request.
  • sendCompensate
    Send a compensate request.
  • sendComplete
    Send a complete request.
  • sendExited
    Send an exited request.
  • sendFailed
    Send a failed request.
  • sendNotCompleted
    Send an exited request.
  • sendSoapFault
    send a soap fault
  • sendStatus
    Send a status request.
  • sendSoapFault,
  • sendStatus

Popular classes and methods

  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • GridBagLayout (java.awt)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ResultSet (java.sql)
    A table of data representing a database result set, which is usually generated by executing a statem
  • DateFormat (java.text)
    DateFormat is an abstract class for date/time formatting subclasses which formats and parses dates
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on *
  • JButton (javax.swing)

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)