Class AtomikosDataSourceBean
- java.lang.Object
- com.atomikos.jdbc.AbstractDataSourceBean
- com.atomikos.jdbc.AtomikosDataSourceBean
- org.springframework.boot.jta.atomikos.AtomikosDataSourceBean
- All Implemented Interfaces:
com.atomikos.datasource.pool.ConnectionPoolProperties
,Serializable
,Wrapper
,Referenceable
,CommonDataSource
,DataSource
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
@ConfigurationProperties(prefix="spring.jta.atomikos.datasource") public class AtomikosDataSourceBean extends com.atomikos.jdbc.AtomikosDataSourceBean implements org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Spring friendly version ofAtomikosDataSourceBean
.- Since:
- 1.2.0
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description AtomikosDataSourceBean()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
void
setBeanName(String name)
Methods inherited from class com.atomikos.jdbc.AtomikosDataSourceBean
doClose, doInit, getXaDataSource, getXaDataSourceClassName, getXaProperties, isAssignableFromWrappedVendorClass, setXaDataSource, setXaDataSourceClassName, setXaProperties, toString, unwrapVendorInstance
Methods inherited from class com.atomikos.jdbc.AbstractDataSourceBean
close, getBorrowConnectionTimeout, getConcurrentConnectionValidation, getConnection, getConnection, getDefaultIsolationLevel, getLocalTransactionMode, getLoginTimeout, getLogWriter, getMaintenanceInterval, getMaxIdleTime, getMaxLifetime, getMaxPoolSize, getMinPoolSize, getParentLogger, getReapTimeout, getReference, getTestQuery, getUniqueResourceName, init, isWrapperFor, poolAvailableSize, poolTotalSize, refreshPool, setBorrowConnectionTimeout, setConcurrentConnectionValidation, setDefaultIsolationLevel, setLoginTimeout, setLogWriter, setMaintenanceInterval, setMaxIdleTime, setMaxLifetime, setMaxPoolSize, setMinPoolSize, setPoolSize, setReapTimeout, setTestQuery, setUniqueResourceName, throwAtomikosSQLException, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder
Constructor Detail
AtomikosDataSourceBean
public AtomikosDataSourceBean()
Method Detail
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName
in interfaceorg.springframework.beans.factory.BeanNameAware
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception