DODS 7.3 API

com.lutris.appserver.server.sql
Class DataSourceDBConnectionFactory

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

public class DataSourceDBConnectionFactory
extends java.lang.Object
implements com.lutris.appserver.server.sql.AbstractDBConnectionFactory


Constructor Summary
DataSourceDBConnectionFactory()
           
 
Method Summary
 com.lutris.appserver.server.sql.DBConnection createConnection(com.lutris.appserver.server.sql.ConnectionAllocator connectionAllocatorObj, javax.sql.DataSource dataSource, int maxPreparedStatements, boolean logging, int generation)
           
 com.lutris.appserver.server.sql.DBConnection createConnection(com.lutris.appserver.server.sql.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 com.lutris.appserver.server.sql.DBConnection createConnection(com.lutris.appserver.server.sql.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 com.lutris.appserver.server.sql.AbstractDBConnectionFactory
Throws:
java.sql.SQLException

createConnection

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

DODS 7.3 API