org.kuali.rice.core.framework.persistence.jdbc.datasource
Class XAPoolDataSource

java.lang.Object
  extended by org.enhydra.jdbc.util.JdbcUtil
      extended by org.enhydra.jdbc.core.CoreDataSource
          extended by org.enhydra.jdbc.pool.StandardPoolDataSource
              extended by org.enhydra.jdbc.pool.StandardXAPoolDataSource
                  extended by org.kuali.rice.core.framework.persistence.jdbc.datasource.XAPoolDataSource
All Implemented Interfaces:
Serializable, Wrapper, EventListener, Referenceable, ObjectFactory, CommonDataSource, ConnectionEventListener, DataSource, org.enhydra.jdbc.pool.PoolHelper, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

Deprecated. We will be removing this file from a future release in order to get rid of our dependencies on XAPool. If you desire to continue using JOTM and XAPool, please configure using org.enhyrdra.jdbc.standard.StandardXADataSource directly instead of using this class.

public class XAPoolDataSource
extends org.enhydra.jdbc.pool.StandardXAPoolDataSource
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

StandardXAPoolDataSource subclass that adds some convienance getters and setters and implements our Lifecycle interface.

See Also:
Serialized Form

Field Summary
static String DRIVER_CLASS_NAME
          Deprecated.  
static String MAX_SIZE
          Deprecated.  
static String MAX_WAIT
          Deprecated.  
static String MIN_SIZE
          Deprecated.  
static String PASSWORD
          Deprecated.  
static String URL
          Deprecated.  
static String USERNAME
          Deprecated.  
static String VALIDATION_QUERY
          Deprecated.  
 
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
XAPoolDataSource()
          Deprecated.  
 
Method Summary
 void afterPropertiesSet()
          Deprecated.  
 void destroy()
          Deprecated.  
 String getDriverClassName()
          Deprecated.  
 long getMaxWait()
          Deprecated.  
 String getUrl()
          Deprecated.  
 String getUsername()
          Deprecated.  
 String getValidationQuery()
          Deprecated.  
 boolean isStarted()
          Deprecated.  
 boolean isWrapperFor(Class<?> iface)
          Deprecated.  
 void setBeanName(String dataSourceName)
          Deprecated.  
 void setDriverClassName(String driverClassName)
          Deprecated.  
 void setMaxWait(long maxWait)
          Deprecated.  
 void setPassword(String password)
          Deprecated.  
 void setPreparedStmtCacheSize(int preparedStatementCacheSize)
          Deprecated.  
 void setTransactionManager(TransactionManager transactionManager)
          Deprecated.  
 void setUrl(String url)
          Deprecated.  
 void setUsername(String username)
          Deprecated.  
 void setValidationQuery(String validationQuery)
          Deprecated.  
<T> T
unwrap(Class<T> iface)
          Deprecated.  
 
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
 

Field Detail

DRIVER_CLASS_NAME

public static final String DRIVER_CLASS_NAME
Deprecated. 
See Also:
Constant Field Values

URL

public static final String URL
Deprecated. 
See Also:
Constant Field Values

USERNAME

public static final String USERNAME
Deprecated. 
See Also:
Constant Field Values

PASSWORD

public static final String PASSWORD
Deprecated. 
See Also:
Constant Field Values

MAX_SIZE

public static final String MAX_SIZE
Deprecated. 
See Also:
Constant Field Values

MIN_SIZE

public static final String MIN_SIZE
Deprecated. 
See Also:
Constant Field Values

MAX_WAIT

public static final String MAX_WAIT
Deprecated. 
See Also:
Constant Field Values

VALIDATION_QUERY

public static final String VALIDATION_QUERY
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

XAPoolDataSource

public XAPoolDataSource()
Deprecated. 
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Deprecated. 
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Deprecated. 
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

isStarted

public boolean isStarted()
Deprecated. 

getDriverClassName

public String getDriverClassName()
                          throws SQLException
Deprecated. 
Throws:
SQLException

getMaxWait

public long getMaxWait()
Deprecated. 

getUrl

public String getUrl()
Deprecated. 

getUsername

public String getUsername()
Deprecated. 

getValidationQuery

public String getValidationQuery()
Deprecated. 

setBeanName

public void setBeanName(String dataSourceName)
Deprecated. 

setDriverClassName

public void setDriverClassName(String driverClassName)
Deprecated. 

setMaxWait

public void setMaxWait(long maxWait)
Deprecated. 

setPassword

public void setPassword(String password)
Deprecated. 
Overrides:
setPassword in class org.enhydra.jdbc.core.CoreDataSource

setTransactionManager

public void setTransactionManager(TransactionManager transactionManager)
Deprecated. 
Overrides:
setTransactionManager in class org.enhydra.jdbc.pool.StandardXAPoolDataSource

setUrl

public void setUrl(String url)
Deprecated. 

setUsername

public void setUsername(String username)
Deprecated. 

setValidationQuery

public void setValidationQuery(String validationQuery)
Deprecated. 

setPreparedStmtCacheSize

public void setPreparedStmtCacheSize(int preparedStatementCacheSize)
Deprecated. 

unwrap

public <T> T unwrap(Class<T> iface)
         throws SQLException
Deprecated. 
Specified by:
unwrap in interface Wrapper
Throws:
SQLException

isWrapperFor

public boolean isWrapperFor(Class<?> iface)
                     throws SQLException
Deprecated. 
Specified by:
isWrapperFor in interface Wrapper
Throws:
SQLException


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.