Package org.jboss.jca.core.connectionmanager

Examples of org.jboss.jca.core.connectionmanager.ConnectionManagerFactory


            padXid = dataSourceConfig.getXaPool().isPadXid();
        }

        // Select the correct connection manager
        TransactionSupport.TransactionSupportLevel tsl = TransactionSupport.TransactionSupportLevel.XATransaction;
        ConnectionManagerFactory cmf = new ConnectionManagerFactory();
        ConnectionManager cm = cmf.createTransactional(tsl, pool, null, allocationRetry, allocationRetryWaitMillis,
                getTransactionManager(), interleaving, xaResourceTimeout, isSameRMOverride, wrapXAResource, padXid);

        cm.setJndiName(jndiName);

        return cm;
View Full Code Here


            allocationRetryWaitMillis = dataSourceConfig.getTimeOut().getAllocationRetryWaitMillis();
        }

        // Select the correct connection manager
        final TransactionSupport.TransactionSupportLevel tsl = TransactionSupport.TransactionSupportLevel.LocalTransaction;
        final ConnectionManagerFactory cmf = new ConnectionManagerFactory();
        final ConnectionManager cm = cmf.createTransactional(tsl, pool, null, allocationRetry, allocationRetryWaitMillis,
                getTransactionManager(), null, null, null, null, null);

        cm.setJndiName(jndiName);
        return cm;
    }
View Full Code Here

        String securityDomain = dataSourceConfig.getSecurity() != null ? dataSourceConfig.getSecurity().getSecurityDomain()
                : null;
        // Select the correct connection manager
        TransactionSupport.TransactionSupportLevel tsl = TransactionSupport.TransactionSupportLevel.XATransaction;
        ConnectionManagerFactory cmf = new ConnectionManagerFactory();
        ConnectionManager cm = cmf.createTransactional(tsl, pool, null, securityDomain, allocationRetry,
                allocationRetryWaitMillis, getTransactionIntegration(), interleaving, xaResourceTimeout, isSameRMOverride,
                wrapXAResource, padXid);

        cm.setJndiName(jndiName);
View Full Code Here

            allocationRetryWaitMillis = dataSourceConfig.getTimeOut().getAllocationRetryWaitMillis();
        }

        // Select the correct connection manager
        final TransactionSupport.TransactionSupportLevel tsl = TransactionSupport.TransactionSupportLevel.LocalTransaction;
        final ConnectionManagerFactory cmf = new ConnectionManagerFactory();
        final ConnectionManager cm = cmf.createTransactional(tsl, pool, null, null, allocationRetry, allocationRetryWaitMillis,
                getTransactionIntegration(), null, null, null, null, null);

        cm.setJndiName(jndiName);
        return cm;
    }
View Full Code Here

        String securityDomain = dataSourceConfig.getSecurity() != null ? dataSourceConfig.getSecurity().getSecurityDomain()
                : null;
        // Select the correct connection manager
        TransactionSupport.TransactionSupportLevel tsl = TransactionSupport.TransactionSupportLevel.XATransaction;
        ConnectionManagerFactory cmf = new ConnectionManagerFactory();
        ConnectionManager cm = cmf.createTransactional(tsl, pool, null, securityDomain, allocationRetry,
                allocationRetryWaitMillis, getTransactionIntegration(), interleaving, xaResourceTimeout, isSameRMOverride,
                wrapXAResource, padXid);

        cm.setJndiName(jndiName);
View Full Code Here

            allocationRetryWaitMillis = dataSourceConfig.getTimeOut().getAllocationRetryWaitMillis();
        }

        // Select the correct connection manager
        final TransactionSupport.TransactionSupportLevel tsl = TransactionSupport.TransactionSupportLevel.LocalTransaction;
        final ConnectionManagerFactory cmf = new ConnectionManagerFactory();
        final ConnectionManager cm = cmf.createTransactional(tsl, pool, null, null, allocationRetry, allocationRetryWaitMillis,
                getTransactionIntegration(), null, null, null, null, null);

        cm.setJndiName(jndiName);
        return cm;
    }
View Full Code Here

TOP

Related Classes of org.jboss.jca.core.connectionmanager.ConnectionManagerFactory

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.