Interface that must be implemented by each "connection provider"
Field Summary | |
static int |
CUSTOMCLASS
|
static int |
DATASOURCE
|
static int |
FACTORY
|
static int |
NO_PROVIDER
|
static int |
POOL
|
Method Summary | |
java.sql.Connection |
getConnection()
Returns a standard JDBC Connection |
java.lang.String |
getName()
Returns the name of the ConnectionProvider (from 'dbconfig' file) |
int |
getType()
Returns the type of ConnectionProvider : FACTORY, POOL, DATASOURCE, CUSTOMCLASS |
Field Detail |
public static final int NO_PROVIDER
public static final int FACTORY
public static final int POOL
public static final int DATASOURCE
public static final int CUSTOMCLASS
Method Detail |
public java.lang.String getName()
public java.sql.Connection getConnection() throws java.lang.Exception
java.lang.Exception
public int getType()