Package com.sun.xml.ws.tx.coord.common.types

Examples of com.sun.xml.ws.tx.coord.common.types.BaseRegisterType


    {
        participantId = TransactionIdHelper.getInstance().xid2wsatid(foreignXid);
        Transactional.Version version = builder.getVersion();
        WSCBuilderFactory factory = WSCBuilderFactory.newInstance(version);
        RegistrationMessageBuilder rrBuilder = factory.newWSATRegistrationRequestBuilder();
        BaseRegisterType registerType = rrBuilder.durable(true).txId(participantId).routing().build();
        RegistrationProxyBuilder proxyBuilder = factory.newRegistrationProxyBuilder();
        proxyBuilder.
                to(cc.getRegistrationService()).
                txIdForReference(participantId).
                timeout(timeout);
View Full Code Here


    }

    public BaseRegisterType build() {
        if (participantAddress == null)
            participantAddress = getDefaultParticipantAddress();
        BaseRegisterType registerType = newRegistrationRequest();
        registerType.setParticipantProtocolService(getParticipantProtocolService());
        registerType.setProtocolIdentifier(protocolIdentifier);
        return registerType;
    }
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.tx.coord.common.types.BaseRegisterType

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.