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, com.atomikos.jdbc.HeuristicDataSource, 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


    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
    Author:
    Phillip Webb
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void afterPropertiesSet() 
      void destroy() 
      void setBeanName(String name) 
      • Methods inherited from class com.atomikos.jdbc.AtomikosDataSourceBean

        doClose, doInit, getXaDataSource, getXaDataSourceClassName, getXaProperties, isAssignableFromWrappedVendorClass, printXaProperties, setXaDataSource, setXaDataSourceClassName, setXaProperties, toString, unwrapVendorInstance
      • Methods inherited from class com.atomikos.jdbc.AbstractDataSourceBean

        close, getBorrowConnectionTimeout, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getDefaultIsolationLevel, getLocalTransactionMode, getLoginTimeout, getLogWriter, getMaintenanceInterval, getMaxIdleTime, getMaxLifetime, getMaxPoolSize, getMinPoolSize, getParentLogger, getReapTimeout, getReference, getTestQuery, getUniqueResourceName, init, isWrapperFor, poolAvailableSize, poolTotalSize, refreshPool, setBorrowConnectionTimeout, setDefaultIsolationLevel, setLoginTimeout, setLogWriter, setMaintenanceInterval, setMaxIdleTime, setMaxLifetime, setMaxPoolSize, setMinPoolSize, setPoolSize, setReapTimeout, setTestQuery, setUniqueResourceName, throwAtomikosSQLException, throwAtomikosSQLException, unwrap
    • Constructor Detail

      • AtomikosDataSourceBean

        public AtomikosDataSourceBean()
    • Method Detail

      • setBeanName

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

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

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

Copyright © 2015 Pivotal Software, Inc.. All rights reserved.