Package com.sun.xml.ws.rx.rm.runtime.transaction

Examples of com.sun.xml.ws.rx.rm.runtime.transaction.TransactionPropertySet


                boolean canBegin = rc.transactionHandler.canBegin();
                if (canBegin) {
                    int txTimeout = rc.configuration.getInternalRmFeature().getUserTransactionTimeout();
                    rc.transactionHandler.begin(txTimeout);

                    TransactionPropertySet ps = new TransactionPropertySet();
                    ps.setTransactionOwned(true);
                    message.getPacket().addSatellite(ps);
                } else {
                    if (LOGGER.isLoggable(Level.WARNING)) {
                        //TODO i18n
                        LOGGER.warning("Config asked to begin the transaction but could not "
View Full Code Here


                boolean canBegin = rc.transactionHandler.canBegin();
                if (canBegin) {
                    int txTimeout = rc.configuration.getInternalRmFeature().getUserTransactionTimeout();
                    rc.transactionHandler.begin(txTimeout);

                    TransactionPropertySet ps = new TransactionPropertySet();
                    ps.setTransactionOwned(true);
                    message.getPacket().addSatellite(ps);
                } else {
                    if (LOGGER.isLoggable(Level.WARNING)) {
                        LOGGER.warning(LocalizationMessages.WSRM_5001_COULD_NOT_BEGIN_TRANSACTION());
                    }
View Full Code Here

            throw new IllegalArgumentException("Found supplied accept Boolean null.");
        }

        accepted = accept;

        TransactionPropertySet ps =
                request.getPacket().getSatellite(TransactionPropertySet.class);
        boolean txOwned = (ps != null && ps.isTransactionOwned());

        if (accept) {
            rc.destinationMessageHandler.acknowledgeApplicationLayerDelivery(request);

            if (txOwned) {
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.rx.rm.runtime.transaction.TransactionPropertySet

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.