@Deprecated @ConfigurationProperties(prefix="spring.jta.bitronix.connectionfactory") public class PoolingConnectionFactoryBean extends bitronix.tm.resource.jms.PoolingConnectionFactory implements org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
PoolingConnectionFactory. Provides sensible defaults
and also supports direct wrapping of a XAConnectionFactory instance.| Modifier and Type | Class and Description |
|---|---|
static class |
PoolingConnectionFactoryBean.DirectXAConnectionFactory
Deprecated.
A
XAConnectionFactory implementation that delegates to the
ThreadLocal PoolingConnectionFactoryBean. |
| Constructor and Description |
|---|
PoolingConnectionFactoryBean()
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.
|
void |
destroy()
Deprecated.
|
protected javax.jms.XAConnectionFactory |
getConnectionFactory()
Deprecated.
|
void |
init()
Deprecated.
|
void |
setBeanName(java.lang.String name)
Deprecated.
|
void |
setConnectionFactory(javax.jms.XAConnectionFactory connectionFactory)
Deprecated.
Set the
XAConnectionFactory directly, instead of calling
ResourceBean.setClassName(String). |
close, createConnection, createConnection, endRecovery, findXAResourceHolder, getCacheProducersConsumers, getInPoolSize, getPassword, getReference, getTestConnections, getTotalPoolSize, getUser, isFailed, reset, setCacheProducersConsumers, setFailed, setPassword, setTestConnections, setUser, startRecovery, toStringgetAcquireIncrement, 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, setUseTmJoinclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void init()
init in interface bitronix.tm.resource.common.XAResourceProducerinit in class bitronix.tm.resource.jms.PoolingConnectionFactorypublic 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 destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exceptionpublic void setConnectionFactory(javax.jms.XAConnectionFactory connectionFactory)
XAConnectionFactory directly, instead of calling
ResourceBean.setClassName(String).connectionFactory - the connection factory to useprotected final javax.jms.XAConnectionFactory getConnectionFactory()
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.jms.PoolingConnectionFactoryjava.lang.Exception