@Deprecated @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
PoolingDataSource. Provides sensible defaults and
also supports direct wrapping of a XADataSource instance.| Modifier and Type | Class and Description |
|---|---|
static class |
PoolingDataSourceBean.DirectXADataSource
Deprecated.
|
| Constructor and Description |
|---|
PoolingDataSourceBean()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
bitronix.tm.resource.common.XAStatefulHolder |
createPooledConnection(java.lang.Object xaFactory,
bitronix.tm.resource.common.ResourceBean bean)
Deprecated.
|
protected javax.sql.XADataSource |
getDataSource()
Deprecated.
|
java.util.logging.Logger |
getParentLogger()
Deprecated.
|
void |
init()
Deprecated.
|
void |
setBeanName(java.lang.String name)
Deprecated.
|
void |
setDataSource(javax.sql.XADataSource dataSource)
Deprecated.
Set the
XADataSource directly, instead of calling
ResourceBean.setClassName(String). |
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, unwrapgetAcquireIncrement, 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, setUseTmJoinpublic void init()
init in interface bitronix.tm.resource.common.XAResourceProducerinit in class bitronix.tm.resource.jdbc.PoolingDataSourcepublic void setBeanName(java.lang.String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic void setDataSource(javax.sql.XADataSource dataSource)
XADataSource directly, instead of calling
ResourceBean.setClassName(String).dataSource - the data source to useprotected final javax.sql.XADataSource getDataSource()
public bitronix.tm.resource.common.XAStatefulHolder createPooledConnection(java.lang.Object xaFactory,
bitronix.tm.resource.common.ResourceBean bean)
throws java.lang.Exception
createPooledConnection in interface bitronix.tm.resource.common.XAResourceProducercreatePooledConnection in class bitronix.tm.resource.jdbc.PoolingDataSourcejava.lang.Exceptionpublic java.util.logging.Logger getParentLogger()
throws java.sql.SQLFeatureNotSupportedException
getParentLogger in interface javax.sql.CommonDataSourcejava.sql.SQLFeatureNotSupportedException