|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DriverDataSource
A DataSource that allows additional configuration options to be set into it, so that it can wrap a JDBC driver or other DataSource.
Method Summary | |
---|---|
List<ConnectionDecorator> |
createConnectionDecorators()
Provide any built-in decorators; may be null. |
ClassLoader |
getClassLoader()
Classloader for loading driver class, etc. |
String |
getConnectionDriverName()
Driver class name. |
Properties |
getConnectionFactoryProperties()
Configuration of datasource properties. |
Properties |
getConnectionProperties()
Configuration of connection. |
String |
getConnectionURL()
JDBC URL. |
String |
getConnectionUserName()
JDBC user name. |
void |
initDBDictionary(DBDictionary dict)
Initialize self and dictionary once available. |
void |
setClassLoader(ClassLoader classLoader)
JDBC password. |
void |
setConnectionDriverName(String connectionDriverName)
Driver class name. |
void |
setConnectionFactoryProperties(Properties props)
Configuration of datasource properties. |
void |
setConnectionPassword(String connectionPassword)
JDBC password. |
void |
setConnectionProperties(Properties props)
Configuration of connection. |
void |
setConnectionURL(String connectionURL)
JDBC URL. |
void |
setConnectionUserName(String connectionUserName)
JDBC user name. |
Methods inherited from interface javax.sql.DataSource |
---|
getConnection, getConnection |
Methods inherited from interface javax.sql.CommonDataSource |
---|
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Method Detail |
---|
void setConnectionURL(String connectionURL)
String getConnectionURL()
void setConnectionDriverName(String connectionDriverName)
String getConnectionDriverName()
void setConnectionUserName(String connectionUserName)
String getConnectionUserName()
void setConnectionPassword(String connectionPassword)
void setClassLoader(ClassLoader classLoader)
ClassLoader getClassLoader()
void setConnectionFactoryProperties(Properties props)
Properties getConnectionFactoryProperties()
void setConnectionProperties(Properties props)
Properties getConnectionProperties()
List<ConnectionDecorator> createConnectionDecorators()
void initDBDictionary(DBDictionary dict)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |