public interface DriverDataSource extends DataSource
Modifier and Type | Method and Description |
---|---|
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.
|
getConnection, getConnection
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
isWrapperFor, unwrap
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)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.