类 PoolingDataSourceBean

  • 所有已实现的接口:
    bitronix.tm.resource.common.XAResourceProducer, bitronix.tm.resource.jdbc.PoolingDataSourceMBean, Serializable, Wrapper, Referenceable, CommonDataSource, DataSource, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    @ConfigurationProperties(prefix="spring.jta.bitronix.datasource")
    public class PoolingDataSourceBean
    extends bitronix.tm.resource.jdbc.PoolingDataSource
    implements org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
    Spring friendly version of PoolingDataSource. Provides sensible defaults and also supports direct wrapping of a XADataSource instance.
    从以下版本开始:
    1.2.0
    另请参阅:
    序列化表格
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      voidafterPropertiesSet() 
      bitronix.tm.resource.common.XAStatefulHoldercreatePooledConnection​(Object xaFactory, bitronix.tm.resource.common.ResourceBean bean) 
      protected XADataSourcegetDataSource() 
      LoggergetParentLogger() 
      voidinit() 
      voidsetBeanName​(String name) 
      voidsetDataSource​(XADataSource dataSource)
      Set the XADataSource directly, instead of calling ResourceBean.setClassName(String).
      • 从类继承的方法 bitronix.tm.resource.jdbc.PoolingDataSource

        addConnectionCustomizer, close, endRecovery, findXAResourceHolder, getConnection, getConnection, getCursorHoldability, getInPoolSize, getIsolationLevel, getLocalAutoCommit, getLoginTimeout, getLogWriter, getPreparedStatementCacheSize, getReference, getTestQuery, getTotalPoolSize, isEnableJdbc4ConnectionTest, isFailed, isWrapperFor, removeConnectionCustomizer, reset, setCursorHoldability, setEnableJdbc4ConnectionTest, setFailed, setIsolationLevel, setLocalAutoCommit, setLoginTimeout, setLogWriter, setPreparedStatementCacheSize, setTestQuery, startRecovery, toString, unwrap
      • 从类继承的方法 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
      • 从接口继承的方法 bitronix.tm.resource.jdbc.PoolingDataSourceMBean

        getMaxPoolSize, getMinPoolSize, isDisabled, setDisabled
      • 从接口继承的方法 bitronix.tm.resource.common.XAResourceProducer

        getUniqueName