public Object getObject() throws Exception { if (connectionManager == null) { if (transactionManager == null) { throw new NullPointerException("transactionManager is null"); } // Instanciate the Geronimo Connection Manager this.connectionManager = new GenericConnectionManager( transactionSupport, poolingSupport, subjectSource, connectionTracker, transactionManager, getClass().getName(), getClass().getClassLoader()); connectionManager.doStart(); } return connectionManager; }
public GenericConnectionManager create() { PoolingSupport poolingSupport = createPoolingSupport(); 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, name, classLoader); return connectionManager; }
false); // select one assume match _connectionManager = new GenericConnectionManager( transactionSupport, poolingSupport,
mcf, name, classLoader, validationIntervalMs); } else { mgr = new GenericConnectionManager(txSupport, poolingSupport, null, new AutoConnectionTracker(), tm, mcf, name, classLoader);
mcf, name, classLoader, validationIntervalMs); } else { mgr = new GenericConnectionManager(txSupport, poolingSupport, null, new AutoConnectionTracker(), tm, mcf, name, classLoader);
false); ConnectionManager connectionManager = new GenericConnectionManager( transactionSupport, poolingSupport,
new GenericConnectionManager(transactionSupport, pooling, null, connectionTracker, transactionManager, mcf, objectName, classLoader); reference = buildReference(dataSourceDescription); connectionManager.doRecovery();