Class AtomikosConnectionFactoryBean

java.lang.Object
com.atomikos.jms.AtomikosConnectionFactoryBean
com.atomikos.spring.AtomikosConnectionFactoryBean
All Implemented Interfaces:
com.atomikos.datasource.pool.ConnectionPoolProperties, com.atomikos.icatch.OrderedLifecycleComponent, jakarta.jms.ConnectionFactory, Serializable, Referenceable, 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.connectionfactory") public class AtomikosConnectionFactoryBean extends com.atomikos.jms.AtomikosConnectionFactoryBean implements org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Spring friendly version of AtomikosConnectionFactoryBean.
See Also:
  • Field Summary

    Fields inherited from interface com.atomikos.datasource.pool.ConnectionPoolProperties

    DEFAULT_BORROW_CONNECTION_TIMEOUT, DEFAULT_ISOLATION_LEVEL_UNSET, DEFAULT_MAINTENANCE_INTERVAL, DEFAULT_MAX_IDLE_TIME, DEFAULT_MAX_LIFETIME, DEFAULT_POOL_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     

    Methods inherited from class com.atomikos.jms.AtomikosConnectionFactoryBean

    close, createConnection, createConnection, createContext, createContext, createContext, createContext, getBorrowConnectionTimeout, getConcurrentConnectionValidation, getDefaultIsolationLevel, getIgnoreSessionTransactedFlag, getLocalTransactionMode, getMaintenanceInterval, getMaxIdleTime, getMaxLifetime, getMaxPoolSize, getMinPoolSize, getReference, getSessionCreationMode, getTestQuery, getUniqueResourceName, getXaConnectionFactory, getXaConnectionFactoryClassName, getXaProperties, init, poolAvailableSize, poolTotalSize, refreshPool, setBorrowConnectionTimeout, setConcurrentConnectionValidation, setIgnoreSessionTransactedFlag, setLocalTransactionMode, setMaintenanceInterval, setMaxIdleTime, setMaxLifetime, setMaxPoolSize, setMinPoolSize, setPoolSize, setSessionCreationMode, setUniqueResourceName, setXaConnectionFactory, setXaConnectionFactoryClassName, setXaProperties, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.atomikos.datasource.pool.ConnectionPoolProperties

    getIgnoreJtaTransactions
  • Constructor Details

    • AtomikosConnectionFactoryBean

      public AtomikosConnectionFactoryBean()
  • Method Details

    • 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