|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.enhydra.jdbc.util.JdbcUtil org.enhydra.jdbc.core.CoreDataSource org.enhydra.jdbc.pool.StandardPoolDataSource org.enhydra.jdbc.pool.StandardXAPoolDataSource org.kuali.rice.core.framework.persistence.jdbc.datasource.XAPoolDataSource org.kuali.rice.student.core.database.DerbyXAPoolDataSource
public class DerbyXAPoolDataSource
This extends the rice XAPoolDataSource and checks to see if a connection is being made using derby client driver. If a client driver is used and a connection cannot be obtained, means a derby server has not been started. In such a case must switch to use the embedded driver instead. If derby is set to startup in server mode, the embedded db will be reachable via a network connection.
Field Summary |
---|
Fields inherited from class org.kuali.rice.core.framework.persistence.jdbc.datasource.XAPoolDataSource |
---|
DRIVER_CLASS_NAME, MAX_SIZE, MAX_WAIT, MIN_SIZE, PASSWORD, URL, USERNAME, VALIDATION_QUERY |
Fields inherited from class org.enhydra.jdbc.pool.StandardXAPoolDataSource |
---|
glog, transactionManager, xads |
Fields inherited from class org.enhydra.jdbc.pool.StandardPoolDataSource |
---|
cpds, dataSourceName, ictx, jdbcTestStmt, onOff, pool |
Fields inherited from class org.enhydra.jdbc.core.CoreDataSource |
---|
logWriter, password, user |
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil |
---|
log |
Constructor Summary | |
---|---|
DerbyXAPoolDataSource()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
Methods inherited from class org.kuali.rice.core.framework.persistence.jdbc.datasource.XAPoolDataSource |
---|
destroy, getDriverClassName, getMaxWait, getUrl, getUsername, getValidationQuery, isStarted, isWrapperFor, setBeanName, setDriverClassName, setMaxWait, setPassword, setPreparedStmtCacheSize, setTransactionManager, setUrl, setUsername, setValidationQuery, unwrap |
Methods inherited from class org.enhydra.jdbc.pool.StandardXAPoolDataSource |
---|
connectionClosed, create, getDataSource, getObjectInstance, getReference, setDataSource, testThisObject, toString |
Methods inherited from class org.enhydra.jdbc.pool.StandardPoolDataSource |
---|
checkThisObject, connectionErrorOccurred, create, expire, getCheckLevelObject, getConnection, getConnection, getDataSourceName, getDeadLockMaxWait, getDeadLockRetryWait, getGeneration, getJdbcTestStmt, getLifeTime, getLockedObjectCount, getLogWriter, getMaxSize, getMinSize, getSleepTime, getUnlockedObjectCount, isGC, setCheckLevelObject, setDataSourceName, setDeadLockMaxWait, setDeadLockRetryWait, setDebug, setGC, setGeneration, setJdbcTestStmt, setLifeTime, setLogWriter, setMaxSize, setMinSize, setSleepTime, setThreadFactory, shutdown, stopPool |
Methods inherited from class org.enhydra.jdbc.core.CoreDataSource |
---|
getDescription, getLoginTimeout, getPassword, getThreadFactory, getUser, isDebug, isVerbose, setDescription, setLoginTimeout, setUser, setVerbose |
Methods inherited from class org.enhydra.jdbc.util.JdbcUtil |
---|
setLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.sql.CommonDataSource |
---|
getLoginTimeout, setLoginTimeout |
Constructor Detail |
---|
public DerbyXAPoolDataSource()
Method Detail |
---|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class XAPoolDataSource
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |