Package com.sun.enterprise.ee.synchronization.tx

Examples of com.sun.enterprise.ee.synchronization.tx.TransactionManager


     */
    void synchronizeInternal() throws SynchronizationException {

        final long startTime = System.currentTimeMillis();
        try {
            TransactionManager txMgr=TransactionManager.getTransactionManager();

            // pings the central repository admin
            Ping pc = getPingCommand();
            pc.execute();

            if ( pc.isAlive() ) { // central repository admin is responding
                SynchronizationRequest[] reqs = getAllRequests(pc);

                assert(reqs.length != 0);
                assert(_dpr != null);

                // begin a transaction for the synchronization
                Transaction tx = txMgr.begin(reqs.length);

                // requests from the meta data
                RequestMediator[] mReqs=new RequestMediator[reqs.length];

                // total synchronization request threads
View Full Code Here


        } catch (IOException ioe) {
            String msg=_localStrMgr.getString("DASPropertyReadError");
            throw new SynchronizationException(msg, ioe);
        }

      TransactionManager txMgr=TransactionManager.getTransactionManager();

        // begin a transaction for the synchronization; it is a
        // single threaded transaction
        Transaction tx = txMgr.begin(1);

        boolean httpException             = false;
        HttpGroupRequestMediator httpGrm  = null;
        try {
            // execute synchronization using http
View Full Code Here

TOP

Related Classes of com.sun.enterprise.ee.synchronization.tx.TransactionManager

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.