DODS 6.5 API

com.lutris.appserver.server.sql
Class DataSourceDBConnectionFactory

java.lang.Object
  extended bycom.lutris.appserver.server.sql.DataSourceDBConnectionFactory
All Implemented Interfaces:
AbstractDBConnectionFactory

public class DataSourceDBConnectionFactory
extends java.lang.Object
implements AbstractDBConnectionFactory


Constructor Summary
DataSourceDBConnectionFactory()
           
 
Method Summary
 DBConnection createConnection(ConnectionAllocator connectionAllocatorObj, javax.sql.DataSource dataSource, int maxPreparedStatements, boolean logging, int generation)
           
 DBConnection createConnection(ConnectionAllocator connectionAllocatorObj, java.lang.String url, java.lang.String user, java.lang.String password, int maxPreparedStatements, boolean logging, int generation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceDBConnectionFactory

public DataSourceDBConnectionFactory()
Method Detail

createConnection

public DBConnection createConnection(ConnectionAllocator connectionAllocatorObj,
                                     java.lang.String url,
                                     java.lang.String user,
                                     java.lang.String password,
                                     int maxPreparedStatements,
                                     boolean logging,
                                     int generation)
                              throws java.sql.SQLException
Specified by:
createConnection in interface AbstractDBConnectionFactory
Throws:
java.sql.SQLException

createConnection

public DBConnection createConnection(ConnectionAllocator connectionAllocatorObj,
                                     javax.sql.DataSource dataSource,
                                     int maxPreparedStatements,
                                     boolean logging,
                                     int generation)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

DODS 6.5 API