类 AtomikosDataSourceBean
- java.lang.Object
- com.atomikos.jdbc.AbstractDataSourceBean
- com.atomikos.jdbc.AtomikosDataSourceBean
- org.springframework.boot.jta.atomikos.AtomikosDataSourceBean
- 所有已实现的接口:
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
.- 从以下版本开始:
- 1.2.0
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 AtomikosDataSourceBean()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
afterPropertiesSet()
void
destroy()
void
setBeanName(String name)
从类继承的方法 com.atomikos.jdbc.AtomikosDataSourceBean
doClose, doInit, getXaDataSource, getXaDataSourceClassName, getXaProperties, isAssignableFromWrappedVendorClass, setXaDataSource, setXaDataSourceClassName, setXaProperties, toString, unwrapVendorInstance
从类继承的方法 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
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 javax.sql.CommonDataSource
createShardingKeyBuilder
从接口继承的方法 javax.sql.DataSource
createConnectionBuilder
构造器详细资料
AtomikosDataSourceBean
public AtomikosDataSourceBean()
方法详细资料
setBeanName
public void setBeanName(String name)
- 指定者:
setBeanName
在接口中org.springframework.beans.factory.BeanNameAware
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- 指定者:
afterPropertiesSet
在接口中org.springframework.beans.factory.InitializingBean
- 抛出:
Exception