org.springframework.boot.jta.bitronix

Class PoolingConnectionFactoryBean

  • java.lang.Object
    • bitronix.tm.resource.common.ResourceBean
      • bitronix.tm.resource.jms.PoolingConnectionFactory
        • org.springframework.boot.jta.bitronix.PoolingConnectionFactoryBean
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void afterPropertiesSet() 
      bitronix.tm.resource.common.XAStatefulHolder createPooledConnection(Object xaFactory, bitronix.tm.resource.common.ResourceBean bean) 
      void destroy() 
      protected XAConnectionFactory getConnectionFactory() 
      void init() 
      void setBeanName(String name) 
      void setConnectionFactory(XAConnectionFactory connectionFactory)
      Set the XAConnectionFactory directly, instead of calling ResourceBean.setClassName(String).
      • Methods inherited from class bitronix.tm.resource.jms.PoolingConnectionFactory

        close, createConnection, createConnection, endRecovery, findXAResourceHolder, getCacheProducersConsumers, getInPoolSize, getPassword, getReference, getTestConnections, getTotalPoolSize, getUser, isFailed, reset, setCacheProducersConsumers, setFailed, setPassword, setTestConnections, setUser, startRecovery, toString
      • Methods inherited from class bitronix.tm.resource.common.ResourceBean

        getAcquireIncrement, getAcquisitionInterval, getAcquisitionTimeout, getAllowLocalTransactions, getApplyTransactionTimeout, getAutomaticEnlistingEnabled, getClassName, getDeferConnectionRelease, getDriverProperties, getIgnoreRecoveryFailures, getMaxIdleTime, getMaxPoolSize, getMinPoolSize, getShareTransactionConnections, getTwoPcOrderingPosition, getUniqueName, getUseTmJoin, incCreatedResourcesCounter, isDisabled, setAcquireIncrement, setAcquisitionInterval, setAcquisitionTimeout, setAllowLocalTransactions, setApplyTransactionTimeout, setAutomaticEnlistingEnabled, setClassName, setDeferConnectionRelease, setDisabled, setDriverProperties, setIgnoreRecoveryFailures, setMaxIdleTime, setMaxPoolSize, setMinPoolSize, setShareTransactionConnections, setTwoPcOrderingPosition, setUniqueName, setUseTmJoin
      • Methods inherited from interface bitronix.tm.resource.common.XAResourceProducer

        getUniqueName
      • Methods inherited from interface bitronix.tm.resource.jms.PoolingConnectionFactoryMBean

        getMaxPoolSize, getMinPoolSize, isDisabled, setDisabled
    • Constructor Detail

      • PoolingConnectionFactoryBean

        public PoolingConnectionFactoryBean()
    • Method Detail

      • init

        public void init()
        Specified by:
        init in interface bitronix.tm.resource.common.XAResourceProducer
        Overrides:
        init in class bitronix.tm.resource.jms.PoolingConnectionFactory
      • setConnectionFactory

        public void setConnectionFactory(XAConnectionFactory connectionFactory)
        Set the XAConnectionFactory directly, instead of calling ResourceBean.setClassName(String).
        Parameters:
        connectionFactory - the connection factory to use
      • createPooledConnection

        public bitronix.tm.resource.common.XAStatefulHolder createPooledConnection(Object xaFactory,
                                                                                   bitronix.tm.resource.common.ResourceBean bean)
                                                                            throws Exception
        Specified by:
        createPooledConnection in interface bitronix.tm.resource.common.XAResourceProducer
        Overrides:
        createPooledConnection in class bitronix.tm.resource.jms.PoolingConnectionFactory
        Throws:
        Exception