Examples of TerminationParticipantProcessor


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

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

        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

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

        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

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

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

        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

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

        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

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

        throws TransactionRolledBackException, UnknownTransactionException, SystemException
    {
        final AddressingProperties addressingProperties = AddressingHelper.createNotificationContext(MessageId.getMessageId()) ;

        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminationParticipantProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminationParticipantProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendClose(_terminationCoordinator, addressingProperties, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminationParticipantProcessor.removeCallback(_id) ;
        }

        if (callback.hasTriggered())
        {
            if (callback.receivedClosed())
View Full Code Here

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

        throws FaultedException, UnknownTransactionException, SystemException
    {
        final AddressingProperties addressingProperties = AddressingHelper.createNotificationContext(MessageId.getMessageId()) ;

        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminationParticipantProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminationParticipantProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendCancel(_terminationCoordinator, addressingProperties, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminationParticipantProcessor.removeCallback(_id) ;
        }

        if (callback.hasTriggered())
        {
            if (callback.receivedCancelled())
View Full Code Here

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

        throws FaultedException, UnknownTransactionException, SystemException
    {
        final AddressingProperties addressingProperties = AddressingHelper.createNotificationContext(MessageId.getMessageId()) ;

        final RequestCallback callback = new RequestCallback() ;
        final TerminationParticipantProcessor terminationParticipantProcessor = TerminationParticipantProcessor.getProcessor() ;
        terminationParticipantProcessor.registerCallback(_id, callback) ;
        try
        {
            TerminationCoordinatorClient.getClient().sendComplete(_terminationCoordinator, addressingProperties, new InstanceIdentifier(_id)) ;
            callback.waitUntilTriggered() ;
        }
        catch (final Throwable th)
        {
            throw new SystemException() ;
        }
        finally
        {
            terminationParticipantProcessor.removeCallback(_id) ;
        }

        if (callback.hasTriggered())
        {
            if (callback.receivedCompleted())
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.