@Deprecated @ConfigurationProperties(prefix="spring.jta.bitronix.connectionfactory") public class PoolingConnectionFactoryBean extends bitronix.tm.resource.jms.PoolingConnectionFactory implements BeanNameAware, InitializingBean, 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(Object xaFactory,
bitronix.tm.resource.common.ResourceBean bean)
Deprecated.
|
void |
destroy()
Deprecated.
|
protected XAConnectionFactory |
getConnectionFactory()
Deprecated.
|
void |
init()
Deprecated.
|
void |
setBeanName(String name)
Deprecated.
|
void |
setConnectionFactory(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, toString
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createContext, createContext, createContext, createContext
public void init()
init
in interface bitronix.tm.resource.common.XAResourceProducer
init
in class bitronix.tm.resource.jms.PoolingConnectionFactory
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
public void setConnectionFactory(XAConnectionFactory connectionFactory)
XAConnectionFactory
directly, instead of calling
ResourceBean.setClassName(String)
.connectionFactory
- the connection factory to useprotected final XAConnectionFactory getConnectionFactory()
public bitronix.tm.resource.common.XAStatefulHolder createPooledConnection(Object xaFactory, bitronix.tm.resource.common.ResourceBean bean) throws Exception
createPooledConnection
in interface bitronix.tm.resource.common.XAResourceProducer
createPooledConnection
in class bitronix.tm.resource.jms.PoolingConnectionFactory
Exception