org.apache.activemq.pool
Class JcaPooledConnectionFactory

java.lang.Object
  extended by org.apache.activemq.jms.pool.PooledConnectionFactory
      extended by org.apache.activemq.jms.pool.XaPooledConnectionFactory
          extended by org.apache.activemq.pool.XaPooledConnectionFactory
              extended by org.apache.activemq.pool.JcaPooledConnectionFactory
All Implemented Interfaces:
Serializable, ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, Referenceable, ObjectFactory, JNDIStorableInterface, Service

public class JcaPooledConnectionFactory
extends XaPooledConnectionFactory

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.activemq.pool.XaPooledConnectionFactory
POOL_PROPS_PREFIX
 
Fields inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory
stopped
 
Constructor Summary
JcaPooledConnectionFactory()
           
 
Method Summary
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.pool.XaPooledConnectionFactory
buildFromProperties, getProperties, getReference, populateProperties, setProperties
 
Methods inherited from class org.apache.activemq.jms.pool.XaPooledConnectionFactory
createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getObjectInstance, getTmJndiName, getTransactionManager, isTmFromJndi, setTmFromJndi, setTmJndiName, setTransactionManager
 
Methods inherited from class org.apache.activemq.jms.pool.PooledConnectionFactory
clear, createConnection, createConnection, createConnection, getConnectionFactory, getConnectionsPool, getExpiryTimeout, getIdleTimeout, getMaxConnections, getMaximumActiveSessionPerConnection, getNumConnections, getTimeBetweenExpirationCheckMillis, initConnectionsPool, isBlockIfSessionPoolIsFull, isCreateConnectionOnStartup, newPooledConnection, setBlockIfSessionPoolIsFull, setConnectionFactory, setCreateConnectionOnStartup, setExpiryTimeout, setIdleTimeout, setMaxConnections, setMaximumActiveSessionPerConnection, setTimeBetweenExpirationCheckMillis, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.activemq.Service
start, stop
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

Constructor Detail

JcaPooledConnectionFactory

public JcaPooledConnectionFactory()
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 class XaPooledConnectionFactory
Returns:
instance of a new ConnectionPool.


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.