Package org.apache.activemq.jms.pool
Class JcaPooledConnectionFactory
- java.lang.Object
-
- org.apache.activemq.jms.pool.PooledConnectionFactory
-
- org.apache.activemq.jms.pool.XaPooledConnectionFactory
-
- org.apache.activemq.jms.pool.JcaPooledConnectionFactory
-
- All Implemented Interfaces:
Serializable
,ConnectionFactory
,QueueConnectionFactory
,TopicConnectionFactory
,ObjectFactory
public class JcaPooledConnectionFactory extends XaPooledConnectionFactory
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory
connectionFactory, stopped
-
-
Constructor Summary
Constructors Constructor Description JcaPooledConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConnectionPool
createConnectionPool(Connection connection)
Delegate that creates each instance of an ConnectionPool object.String
getName()
void
setName(String name)
-
Methods inherited from class org.apache.activemq.jms.pool.XaPooledConnectionFactory
createConnection, getObjectInstance, getTmJndiName, getTransactionManager, isTmFromJndi, setConnectionFactory, setTmFromJndi, setTmJndiName, setTransactionManager
-
Methods inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory
clear, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getBlockIfSessionPoolIsFullTimeout, getConnectionFactory, getConnectionsPool, getConnectionTimeout, getExpiryTimeout, getIdleTimeout, getMaxConnections, getMaximumActiveSessionPerConnection, getNumConnections, getTimeBetweenExpirationCheckMillis, initConnectionsPool, isBlockIfSessionPoolIsFull, isCreateConnectionOnStartup, isReconnectOnException, isUseAnonymousProducers, newPooledConnection, populateProperties, setBlockIfSessionPoolIsFull, setBlockIfSessionPoolIsFullTimeout, setConnectionTimeout, setCreateConnectionOnStartup, setExpiryTimeout, setIdleTimeout, setMaxConnections, setMaximumActiveSessionPerConnection, setReconnectOnException, setTimeBetweenExpirationCheckMillis, setUseAnonymousProducers, start, stop
-
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
createConnectionPool
protected ConnectionPool createConnectionPool(Connection connection)
Description copied from class:PooledConnectionFactory
Delegate that creates each instance of an ConnectionPool object. Subclasses can override this method to customize the type of connection pool returned.- Overrides:
createConnectionPool
in classXaPooledConnectionFactory
- Returns:
- instance of a new ConnectionPool.
-
-