Package com.arjuna.webservices.wsarjtx.processors

Examples of com.arjuna.webservices.wsarjtx.processors.TerminationParticipantProcessor


        throws TransactionRolledBackException, UnknownTransactionException, SystemException
    {
        final AddressingContext addressingContext = AddressingContext.createRequestContext(_terminationParticipant, MessageId.getMessageId()) ;
       
        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminatorCoordinatorProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminatorCoordinatorProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendClose(addressingContext, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminatorCoordinatorProcessor.removeCallback(_id) ;
        }
       
        if (callback.hasTriggered())
        {
            if (callback.receivedClosed())
View Full Code Here


        throws FaultedException, UnknownTransactionException, SystemException
    {
        final AddressingContext addressingContext = AddressingContext.createRequestContext(_terminationParticipant, MessageId.getMessageId()) ;
       
        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminatorCoordinatorProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminatorCoordinatorProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendCancel(addressingContext, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminatorCoordinatorProcessor.removeCallback(_id) ;
        }
       
        if (callback.hasTriggered())
        {
            if (callback.receivedCancelled())
View Full Code Here

        throws FaultedException, UnknownTransactionException, SystemException
    {
        final AddressingContext addressingContext = AddressingContext.createRequestContext(_terminationParticipant, MessageId.getMessageId()) ;
       
        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminatorCoordinatorProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminatorCoordinatorProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendComplete(addressingContext, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminatorCoordinatorProcessor.removeCallback(_id) ;
        }
       
        if (callback.hasTriggered())
        {
            if (callback.receivedCompleted())
View Full Code Here

        throws TransactionRolledBackException, UnknownTransactionException, SystemException
    {
        final AddressingContext addressingContext = AddressingContext.createRequestContext(_terminationParticipant, MessageId.getMessageId()) ;
       
        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminatorCoordinatorProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminatorCoordinatorProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendClose(addressingContext, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminatorCoordinatorProcessor.removeCallback(_id) ;
        }
       
        if (callback.hasTriggered())
        {
            if (callback.receivedClosed())
View Full Code Here

        throws FaultedException, UnknownTransactionException, SystemException
    {
        final AddressingContext addressingContext = AddressingContext.createRequestContext(_terminationParticipant, MessageId.getMessageId()) ;
       
        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminatorCoordinatorProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminatorCoordinatorProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendCancel(addressingContext, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminatorCoordinatorProcessor.removeCallback(_id) ;
        }
       
        if (callback.hasTriggered())
        {
            if (callback.receivedCancelled())
View Full Code Here

        throws FaultedException, UnknownTransactionException, SystemException
    {
        final AddressingContext addressingContext = AddressingContext.createRequestContext(_terminationParticipant, MessageId.getMessageId()) ;
       
        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminatorCoordinatorProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminatorCoordinatorProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendComplete(addressingContext, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminatorCoordinatorProcessor.removeCallback(_id) ;
        }
       
        if (callback.hasTriggered())
        {
            if (callback.receivedCompleted())
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.wsarjtx.processors.TerminationParticipantProcessor

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.