org.kuali.student.common.test.spring
Class UniqueResourceAtomikosDataSourceBean

java.lang.Object
  extended by com.atomikos.jdbc.AbstractDataSourceBean
      extended by com.atomikos.jdbc.AtomikosDataSourceBean
          extended by org.kuali.student.common.test.spring.UniqueResourceAtomikosDataSourceBean
All Implemented Interfaces:
com.atomikos.datasource.pool.ConnectionPoolProperties, com.atomikos.jdbc.HeuristicDataSource, Serializable, Wrapper, Referenceable, CommonDataSource, DataSource

public class UniqueResourceAtomikosDataSourceBean
extends com.atomikos.jdbc.AtomikosDataSourceBean

This class generates a (mostly) unique resource name for use in testing when the testing framework forks tests and two tests using the same dataSource name run into conflicts

See Also:
Serialized Form

Constructor Summary
UniqueResourceAtomikosDataSourceBean()
           
 
Method Summary
 void setUniqueResourceName(String resourceName)
           
 
Methods inherited from class com.atomikos.jdbc.AtomikosDataSourceBean
doClose, doInit, getXaDataSource, getXaDataSourceClassName, getXaProperties, printXaProperties, setXaDataSource, setXaDataSourceClassName, setXaProperties, toString
 
Methods inherited from class com.atomikos.jdbc.AbstractDataSourceBean
close, getBorrowConnectionTimeout, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getLocalTransactionMode, getLoginTimeout, getLogWriter, getMaintenanceInterval, getMaxIdleTime, getMaxPoolSize, getMinPoolSize, getReapTimeout, getReference, getTestQuery, getUniqueResourceName, init, poolAvailableSize, poolTotalSize, setBorrowConnectionTimeout, setLoginTimeout, setLogWriter, setMaintenanceInterval, setMaxIdleTime, setMaxPoolSize, setMinPoolSize, setPoolSize, setReapTimeout, setTestQuery, throwAtomikosSQLException, throwAtomikosSQLException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

UniqueResourceAtomikosDataSourceBean

public UniqueResourceAtomikosDataSourceBean()
Method Detail

setUniqueResourceName

public void setUniqueResourceName(String resourceName)
Overrides:
setUniqueResourceName in class com.atomikos.jdbc.AbstractDataSourceBean


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