org.springframework.boot.jta.atomikos

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, java.io.Serializable, java.sql.Wrapper, javax.naming.Referenceable, javax.sql.CommonDataSource, javax.sql.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 of AtomikosDataSourceBean.
    Since:
    1.2.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void afterPropertiesSet() 
      void destroy() 
      void setBeanName(java.lang.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
    • Constructor Detail

      • AtomikosDataSourceBean

        public AtomikosDataSourceBean()
    • Method Detail

      • setBeanName

        public void setBeanName(java.lang.String name)
        Specified by:
        setBeanName in interface org.springframework.beans.factory.BeanNameAware
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • destroy

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