Package com.arjuna.wst.messaging.engines

Examples of com.arjuna.wst.messaging.engines.CoordinatorEngine


    {
        // id will be supplied as null during recovery in which case we can delay creation
        // of the coordinator until restore_state is called

        if (id != null) {
            coordinator = new CoordinatorEngine(id, durable, twoPCParticipant) ;
        }
    }
View Full Code Here


            // if we already have a coordinator from a previous recovery scan then reuse it
            // with luck it will have been committed between the last scan and this one
            coordinator = (CoordinatorEngine)CoordinatorProcessorImpl.getProcessor().getCoordinator(id);
            if (coordinator == null) {
                // no entry found so recreate one which is at the prepared stage
                coordinator = new CoordinatorEngine(id, durable, endpointReferenceType, true, State.STATE_PREPARED_SUCCESS) ;
            }
            return true ;
        }
        catch (final Throwable th)
        {
View Full Code Here

    private CoordinatorEngine coordinator ;
   
    public ParticipantStub(final String id, final boolean durable, final EndpointReferenceType twoPCParticipant)
        throws Exception
    {
        coordinator = new CoordinatorEngine(id, durable, twoPCParticipant) ;
    }
View Full Code Here

           
            final XMLStreamReader reader = SoapUtils.getXMLStreamReader(new StringReader(eprValue)) ;
            StreamHelper.checkNextStartTag(reader, QNAME_TWO_PC_PARTICIPANT) ;
            final EndpointReferenceType endpointReferenceType = new EndpointReferenceType(reader) ;
           
            coordinator = new CoordinatorEngine(id, durable, endpointReferenceType, State.STATE_PREPARED_SUCCESS) ;
            return true ;
        }
        catch (final Throwable th)
        {
            WSTLogger.arjLoggerI18N.error("com.arjuna.wst.stub.ParticipantStub_2", th) ;
View Full Code Here

TOP

Related Classes of com.arjuna.wst.messaging.engines.CoordinatorEngine

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.