Examples of GenericConnectionManager


Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

        TransactionManagerImpl exTransactionManager = new TransactionManagerImpl(600, new XidFactoryImpl(), null, null);
        TransactionContextManager transactionContextManager = new TransactionContextManager(exTransactionManager, exTransactionManager);
        tm = (TransactionManager) new GeronimoTransactionManager(transactionContextManager);
       
        // Create an embedded database for testing tx results when commit / rollback
        ConnectionManager cm = new GenericConnectionManager(
                        new XATransactions(true, true),
                        new NoPool(),
                        false,
                        null,
                        transactionContextManager,
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

                CONNECTION_MAX_IDLE_MINUTES,
                true, // match one
                false, // match all
                false); // select one assume match

        _connectionManager = new GenericConnectionManager(
                    transactionSupport,
                    poolingSupport,
                    null,
                    connectionTracker,
                    (RecoverableTransactionManager)_txm,
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

            return new ValidatingGenericConnectionManager(txSupport, poolingSupport,
                null, new AutoConnectionTracker(), tm,
                mcf, name, classLoader, validationInterval);
        }

        return new GenericConnectionManager(txSupport, poolingSupport,
            null, new AutoConnectionTracker(), tm,
            mcf, name, classLoader);
    }
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

        } else {           
            throw new Exception("[" + dsName + "] Invalid DataSource type: " + dsClass);
        }
       
        this.connectionManager =
            new GenericConnectionManager(transactionSupport, pooling, null, connectionTracker, transactionManager, mcf, objectName, classLoader);
               
        connectionManager.doRecovery();
       
        connectionRegistration = new ConnectionFactoryRegistration(connectionManager,
                                                                   bundleContext,
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

                CONNECTION_MAX_IDLE_MINUTES,
                true, // match one
                false, // match all
                false); // select one assume match

        _connectionManager = new GenericConnectionManager(
                transactionSupport,
                poolingSupport,
                null,
                connectionTracker,
                (RecoverableTransactionManager) _txm,
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

                CONNECTION_MAX_IDLE_MINUTES,
                true, // match one
                false, // match all
                false); // select one assume match

        _connectionManager = new GenericConnectionManager(
                    transactionSupport,
                    poolingSupport,
                    null,
                    connectionTracker,
                    (RecoverableTransactionManager) txm,
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

                CONNECTION_MAX_IDLE_MINUTES,
                true, // match one
                false, // match all
                false); // select one assume match

        _connectionManager = new GenericConnectionManager(
                    transactionSupport,
                    poolingSupport,
                    null,
                    connectionTracker,
                    (RecoverableTransactionManager) _txm,
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

                1,
                true,
                false,
                false);

        ConnectionManager connectionManager = new GenericConnectionManager(
                    transactionSupport,
                    poolingSupport,
                    null,
                    connectionTracker,
                    (RecoverableTransactionManager) _txManager,
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

                CONNECTION_MAX_IDLE_MINUTES,
                true, // match one
                false, // match all
                false); // select one assume match

        _connectionManager = new GenericConnectionManager(
                    transactionSupport,
                    poolingSupport,
                    null,
                    connectionTracker,
                    (RecoverableTransactionManager) _txm,
View Full Code Here

Examples of org.apache.geronimo.connector.outbound.GenericConnectionManager

        ClassLoader classLoader = this.classLoader;
        if (classLoader == null) Thread.currentThread().getContextClassLoader();
        if (classLoader == null) classLoader = getClass().getClassLoader();
        if (classLoader == null) classLoader = ClassLoader.getSystemClassLoader();
        GenericConnectionManager connectionManager = new GenericConnectionManager(
                createTransactionSupport(),
                poolingSupport,
                null,
                new AutoConnectionTracker(),
                (RecoverableTransactionManager)transactionManager,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.