Package com.sun.jts.CosTransactions

Examples of com.sun.jts.CosTransactions.DefaultTransactionService


            // Set ORB and TSIdentification: needed for app clients,
            // standalone clients.
            interceptor.setOrb(theORB);
            try {
                DefaultTransactionService jts = new DefaultTransactionService();
                jts.identify_ORB(theORB, tsIdent, jtsProperties ) ;
                interceptor.setTSIdentification(tsIdent);

                // V2-XXX should jts.get_current() be called everytime
                // resolve_initial_references is called ??
                org.omg.CosTransactions.Current transactionCurrent = jts.get_current();

                theORB.getLocalResolver().register( ORBConstants.TRANSACTION_CURRENT_NAME,
                        NullaryFunction.Factory.makeConstant(
                        (org.omg.CORBA.Object)transactionCurrent));
View Full Code Here

TOP

Related Classes of com.sun.jts.CosTransactions.DefaultTransactionService

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.