Package com.arjuna.wst11.messaging

Examples of com.arjuna.wst11.messaging.CoordinatorCompletionCoordinatorProcessorImpl


        throws SoapFault11
    {
        try
        {
            final FailParticipant participant = new FailParticipant() ;
            final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString()) ;
            participant.setEngine(engine) ;
            participant.initialiseTimeout() ;
        }
        catch (final Throwable th)
        {
View Full Code Here


        throws SoapFault11
    {
        try
        {
            final CompletedParticipant participant = new CompletedParticipant() ;
            final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString()) ;
            participant.setEngine(engine) ;
            participant.initialiseTimeout() ;
        }
        catch (final Throwable th)
        {
View Full Code Here

        throws SoapFault11
    {
        try
        {
            final CompletedParticipant participant = new CompletedParticipant() ;
            final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString()) ;
            participant.setEngine(engine) ;
            participant.initialiseTimeout() ;
        }
        catch (final Throwable th)
        {
View Full Code Here

        throws SoapFault11
    {
        try
        {
            final CompletedParticipant participant = new CompletedParticipant() ;
            final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString()) ;
            participant.setEngine(engine) ;
            participant.initialiseTimeout() ;
        }
        catch (final Throwable th)
        {
View Full Code Here

        throws SoapFault11
    {
        try
        {
            final FailedCompensateParticipant participant = new FailedCompensateParticipant() ;
            final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString()) ;
            participant.setEngine(engine) ;
            participant.initialiseTimeout() ;
        }
        catch (final Throwable th)
        {
View Full Code Here

        throws SoapFault11
    {
        try
        {
            final CompletedParticipant participant = new CompletedParticipant() ;
            final ParticipantCompletionParticipantEngine engine = BAInteropUtil.registerParticipantCompletion(coordinationContext, participant, new Uid().toString()) ;
            participant.setEngine(engine) ;
            participant.initialiseTimeout() ;
        }
        catch (final Throwable th)
        {
View Full Code Here

        {
            boolean isSecure = ((TxContextImple)currentTransaction()).isSecure();
            final String address = ServiceRegistry.getRegistry().getServiceURI(BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME, isSecure);
            final W3CEndpointReference participant = getParticipant(service, endpoint, address, id) ;
            W3CEndpointReference baPMEndpoint = registerParticipant(participant, BusinessActivityConstants.WSBA_SUB_PROTOCOL_PARTICIPANT_COMPLETION);
            final ParticipantCompletionParticipantEngine engine = new ParticipantCompletionParticipantEngine(id, baPMEndpoint, bap) ;
            ParticipantCompletionParticipantProcessor.getProcessor().activateParticipant(engine, id) ;

            return new BAParticipantCompletionParticipantManagerStub(engine);
      }
      catch (com.arjuna.wsc.InvalidProtocolException ex)
View Full Code Here

     * create a participant engine to manage commit or rollback processing for the
     * participant and install it in the active participants table
     */
    public void activate() {
        if (isParticipantCompletion) {
            ParticipantCompletionParticipantEngine engine = new ParticipantCompletionParticipantEngine(id, endpoint,  participant, State.STATE_COMPLETED, true);
            ParticipantCompletionParticipantProcessor.getProcessor().activateParticipant(engine, getId());
            engine.recovery();
        } else {
            BusinessAgreementWithCoordinatorCompletionParticipant coordinatorCompletionParticipant = (BusinessAgreementWithCoordinatorCompletionParticipant) participant;
            CoordinatorCompletionParticipantEngine engine = new CoordinatorCompletionParticipantEngine(id, endpoint,  coordinatorCompletionParticipant, State.STATE_COMPLETED, true);
            CoordinatorCompletionParticipantProcessor.getProcessor().activateParticipant(engine, getId());
            engine.recovery();
        }
    }
View Full Code Here

    public void earlyReadonly(final CoordinationContextType coordinationContext, final AddressingProperties addressingProperties)
        throws SoapFault11
    {
        try
        {
            final ParticipantEngine engine = InteropUtil.registerVolatile2PC(coordinationContext, new CommitVolatile2PCParticipant(), new Uid().toString()) ;
            InteropUtil.registerDurable2PC(coordinationContext, new CommitDurable2PCParticipant(), new Uid().toString()) ;
            engine.earlyReadonly() ;
        }
        catch (final Throwable th)
        {
            throw new SoapFault11(th) ;
        }
View Full Code Here

    public void earlyAborted(final CoordinationContextType coordinationContext, final AddressingProperties addressingProperties)
        throws SoapFault11
    {
        try
        {
            final ParticipantEngine engine = InteropUtil.registerVolatile2PC(coordinationContext, new CommitVolatile2PCParticipant(), new Uid().toString()) ;
            InteropUtil.registerDurable2PC(coordinationContext, new CommitDurable2PCParticipant(), new Uid().toString()) ;
            engine.earlyRollback() ;
        }
        catch (final Throwable th)
        {
            throw new SoapFault11(th) ;
        }
View Full Code Here

TOP

Related Classes of com.arjuna.wst11.messaging.CoordinatorCompletionCoordinatorProcessorImpl

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.