Package org.oasis_open.docs.ws_tx.wsat._2006._06

Examples of org.oasis_open.docs.ws_tx.wsat._2006._06.Notification


    public void sendCommit(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference initiator = getCompletionInitiator(endpoint);
        AddressingHelper.installFromFaultTo(addressingProperties, initiator, identifier);
        CompletionCoordinatorPortType port = getPort(endpoint, addressingProperties, commitAction);
        Notification commit = new Notification();

        port.commitOperation(commit);
    }
View Full Code Here


    public void sendRollback(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference initiator = getCompletionInitiator(endpoint);
        AddressingHelper.installFromFaultTo(addressingProperties, initiator, identifier);
        CompletionCoordinatorPortType port = getPort(endpoint, addressingProperties, rollbackAction);
        Notification rollback = new Notification();
               
        port.rollbackOperation(rollback);
    }
View Full Code Here

    public void sendCommitted(final W3CEndpointReference participant, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCompletionCoordinator(participant);
        AddressingHelper.installFaultTo(addressingProperties, coordinator, identifier);
        CompletionInitiatorPortType port = getPort(participant, addressingProperties, committedAction);
        Notification commited = new Notification();

        port.committedOperation(commited);
    }
View Full Code Here

    public void sendAborted(final W3CEndpointReference participant, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference coordinator = getCompletionCoordinator(participant);
        AddressingHelper.installFaultTo(addressingProperties, coordinator, identifier);
        CompletionInitiatorPortType port = getPort(participant, addressingProperties, abortedAction);
        Notification aborted = new Notification();

        port.abortedOperation(aborted);
    }
View Full Code Here

    public void sendPrepared(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference participant = getParticipant(endpoint, addressingProperties);
        AddressingHelper.installFromFaultTo(addressingProperties, participant, identifier);
        CoordinatorPortType port = getPort(endpoint, addressingProperties, preparedAction);
        Notification prepared = new Notification();

        port.preparedOperation(prepared);
    }
View Full Code Here

    public void sendAborted(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference participant = getParticipant(endpoint, addressingProperties);
        AddressingHelper.installFaultTo(addressingProperties, participant, identifier);
        CoordinatorPortType port = getPort(endpoint, addressingProperties, abortedAction);
        Notification aborted = new Notification();

        port.abortedOperation(aborted);
    }
View Full Code Here

    public void sendReadOnly(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference participant = getParticipant(endpoint, addressingProperties);
        AddressingHelper.installFaultTo(addressingProperties, participant, identifier);
        CoordinatorPortType port = getPort(endpoint, addressingProperties, readOnlyAction);
        Notification readOnly = new Notification();

        port.readOnlyOperation(readOnly);
    }
View Full Code Here

    public void sendCommitted(final W3CEndpointReference endpoint, final AddressingProperties addressingProperties, final InstanceIdentifier identifier)
        throws SoapFault, IOException
    {
        EndpointReference participant = getParticipant(endpoint, addressingProperties);
        AddressingHelper.installFaultTo(addressingProperties, participant, identifier);
        CoordinatorPortType port = getPort(endpoint, addressingProperties, committedAction);
        Notification committed = new Notification();

        port.committedOperation(committed);
    }
View Full Code Here

    public void commitOperation(
        @WebParam(name = "Commit", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsat/2006/06", partName = "parameters")
        Notification parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        final Notification commit = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here

    public void rollbackOperation(
        @WebParam(name = "Rollback", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsat/2006/06", partName = "parameters")
        Notification parameters)
    {
        MessageContext ctx = webServiceCtx.getMessageContext();
        final Notification rollback = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
View Full Code Here

TOP

Related Classes of org.oasis_open.docs.ws_tx.wsat._2006._06.Notification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.