Package com.arjuna.wst.stub

Examples of com.arjuna.wst.stub.ParticipantStub


        InstanceIdentifier.setEndpointInstanceIdentifier(systemExceptionCoordinator, TestUtil.SYSTEMEXCEPTION_PARTICIPANT_IDENTIFIER);

        EndpointReferenceType nonexistentCoordinator = new EndpointReferenceType(new AttributedURIType(participantServiceURI));
        InstanceIdentifier.setEndpointInstanceIdentifier(nonexistentCoordinator, TestUtil.NONEXISTENT_PARTICIPANT_IDENTIFIER);

        _preparedVoteStub                   = new ParticipantStub("twoPCCoordinator", false, preparedVoteCoordinator);
        _abortedVoteStub                    = new ParticipantStub("twoPCCoordinator", false, abortedVoteCoordinator);
        _readOnlyVoteStub                   = new ParticipantStub("twoPCCoordinator", false, readOnlyVoteCoordinator);
        _noExceptionStub                    = new ParticipantStub("twoPCCoordinator", false, noExceptionCoordinator);
        _wrongStateExceptionStub            = new ParticipantStub("twoPCCoordinator", false, wrongStateExceptionCoordinator);
        _systemExceptionStub                = new ParticipantStub("twoPCCoordinator", false, systemExceptionCoordinator);
        _nonexistentStub                    = new ParticipantStub("twoPCCoordinator", false, nonexistentCoordinator);
    }
View Full Code Here


        InstanceIdentifier.setEndpointInstanceIdentifier(systemExceptionCoordinator, TestUtil.SYSTEMEXCEPTION_PARTICIPANT_IDENTIFIER);

        EndpointReferenceType nonexistentCoordinator = new EndpointReferenceType(new AttributedURIType(participantServiceURI));
        InstanceIdentifier.setEndpointInstanceIdentifier(nonexistentCoordinator, TestUtil.NONEXISTENT_PARTICIPANT_IDENTIFIER);

        _preparedVoteStub                   = new ParticipantStub("twoPCCoordinator", preparedVoteCoordinator);
        _abortedVoteStub                    = new ParticipantStub("twoPCCoordinator", abortedVoteCoordinator);
        _readOnlyVoteStub                   = new ParticipantStub("twoPCCoordinator", readOnlyVoteCoordinator);
        _noExceptionStub                    = new ParticipantStub("twoPCCoordinator", noExceptionCoordinator);
        _wrongStateExceptionStub            = new ParticipantStub("twoPCCoordinator", wrongStateExceptionCoordinator);
        _systemExceptionStub                = new ParticipantStub("twoPCCoordinator", systemExceptionCoordinator);
        _nonexistentStub                    = new ParticipantStub("twoPCCoordinator", nonexistentCoordinator);
    }
View Full Code Here

TOP

Related Classes of com.arjuna.wst.stub.ParticipantStub

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.