|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.dbcp.BasicDataSource
org.apache.commons.dbcp.managed.BasicManagedDataSource
org.apache.openejb.resource.jdbc.BasicManagedDataSource
public class BasicManagedDataSource
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.dbcp.BasicDataSource |
|---|
closed, connectionInitSqls, connectionPool, connectionProperties, dataSource, defaultAutoCommit, defaultCatalog, defaultReadOnly, defaultTransactionIsolation, driverClassLoader, driverClassName, initialSize, logWriter, maxActive, maxIdle, maxOpenPreparedStatements, maxWait, minEvictableIdleTimeMillis, minIdle, numTestsPerEvictionRun, password, poolPreparedStatements, testOnBorrow, testOnReturn, testWhileIdle, timeBetweenEvictionRunsMillis, url, username, validationQuery, validationQueryTimeout |
| Constructor Summary | |
|---|---|
BasicManagedDataSource()
|
|
| Method Summary | |
|---|---|
void |
close()
|
protected DataSource |
createDataSource()
|
String |
getJdbcDriver()
|
String |
getJdbcUrl()
|
Logger |
getParentLogger()
|
String |
getPasswordCipher()
Returns the password codec class name to use to retrieve plain text password. |
String |
getUserName()
|
void |
setDefaultTransactionIsolation(String s)
|
void |
setJdbcDriver(String string)
|
void |
setJdbcUrl(String string)
|
void |
setMaxWait(int maxWait)
|
void |
setPasswordCipher(String passwordCipher)
Sets the passwordCipher. |
void |
setUserName(String string)
|
protected void |
wrapTransactionManager()
|
| Methods inherited from class org.apache.commons.dbcp.managed.BasicManagedDataSource |
|---|
createConnectionFactory, createDataSourceInstance, createPoolableConnectionFactory, getTransactionManager, getTransactionRegistry, getXADataSource, getXaDataSourceInstance, setTransactionManager, setXADataSource, setXaDataSourceInstance |
| Methods inherited from class org.apache.commons.dbcp.BasicDataSource |
|---|
addConnectionProperty, createConnectionPool, getConnection, getConnection, getConnectionInitSqls, getDefaultAutoCommit, getDefaultCatalog, getDefaultReadOnly, getDefaultTransactionIsolation, getDriverClassLoader, getDriverClassName, getInitialSize, getLogAbandoned, getLoginTimeout, getLogWriter, getMaxActive, getMaxIdle, getMaxOpenPreparedStatements, getMaxWait, getMinEvictableIdleTimeMillis, getMinIdle, getNumActive, getNumIdle, getNumTestsPerEvictionRun, getPassword, getRemoveAbandoned, getRemoveAbandonedTimeout, getTestOnBorrow, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, getUrl, getUsername, getValidationQuery, getValidationQueryTimeout, isAccessToUnderlyingConnectionAllowed, isClosed, isPoolPreparedStatements, isWrapperFor, log, removeConnectionProperty, setAccessToUnderlyingConnectionAllowed, setConnectionInitSqls, setConnectionProperties, setDefaultAutoCommit, setDefaultCatalog, setDefaultReadOnly, setDefaultTransactionIsolation, setDriverClassLoader, setDriverClassName, setInitialSize, setLogAbandoned, setLoginTimeout, setLogWriter, setMaxActive, setMaxIdle, setMaxOpenPreparedStatements, setMaxWait, setMinEvictableIdleTimeMillis, setMinIdle, setNumTestsPerEvictionRun, setPassword, setPoolPreparedStatements, setRemoveAbandoned, setRemoveAbandonedTimeout, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setUrl, setUsername, setValidationQuery, setValidationQueryTimeout, unwrap, validateConnectionFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicManagedDataSource()
| Method Detail |
|---|
public String getPasswordCipher()
public void setPasswordCipher(String passwordCipher)
Sets the passwordCipher.
passwordCipher - password codec valuepublic String getUserName()
public void setUserName(String string)
public String getJdbcDriver()
public void setJdbcDriver(String string)
public String getJdbcUrl()
public void setJdbcUrl(String string)
public void setDefaultTransactionIsolation(String s)
public void setMaxWait(int maxWait)
protected DataSource createDataSource()
throws SQLException
createDataSource in class org.apache.commons.dbcp.BasicDataSourceSQLExceptionprotected void wrapTransactionManager()
public void close()
throws SQLException
close in class org.apache.commons.dbcp.BasicDataSourceSQLException
public Logger getParentLogger()
throws SQLFeatureNotSupportedException
SQLFeatureNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||