public class PooledConnectionFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean
The
resourceName property should be used along with the ActiveMQResourceManager and have
the same value than its resourceName property. This will make sure the transaction manager
maps correctly the connection factory to the recovery process.| Constructor and Description |
|---|
PooledConnectionFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
javax.jms.ConnectionFactory |
getConnectionFactory() |
int |
getMaxConnections() |
int |
getMaximumActive() |
java.lang.Object |
getObject() |
java.lang.Class |
getObjectType() |
java.lang.String |
getResourceName() |
java.lang.Object |
getTransactionManager() |
boolean |
isSingleton() |
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory) |
void |
setMaxConnections(int maxConnections) |
void |
setMaximumActive(int maximumActive) |
void |
setResourceName(java.lang.String resourceName) |
void |
setTransactionManager(java.lang.Object transactionManager) |
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
public int getMaximumActive()
public void setMaximumActive(int maximumActive)
public java.lang.Object getTransactionManager()
public void setTransactionManager(java.lang.Object transactionManager)
public java.lang.String getResourceName()
public void setResourceName(java.lang.String resourceName)
public javax.jms.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
@PostConstruct
public void afterPropertiesSet()
throws java.lang.Exception
java.lang.Exception@PreDestroy
public void destroy()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.Exceptionpublic java.lang.Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanCopyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.