org.apache.activemq.pool
Class JcaPooledConnectionFactory

java.lang.Object
  extended by org.apache.activemq.pool.PooledConnectionFactory
      extended by org.apache.activemq.pool.XaPooledConnectionFactory
          extended by org.apache.activemq.pool.JcaPooledConnectionFactory
All Implemented Interfaces:
ConnectionFactory, Service

public class JcaPooledConnectionFactory
extends XaPooledConnectionFactory


Constructor Summary
JcaPooledConnectionFactory()
           
JcaPooledConnectionFactory(ActiveMQConnectionFactory connectionFactory)
           
JcaPooledConnectionFactory(String brokerURL)
           
 
Method Summary
protected  ConnectionPool createConnectionPool(ActiveMQConnection 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
getTransactionManager, setTransactionManager
 
Methods inherited from class org.apache.activemq.pool.PooledConnectionFactory
clear, createConnection, createConnection, createConnection, getConnectionFactory, getExpiryTimeout, getIdleTimeout, getMaxConnections, getMaximumActive, getMaximumActiveSessionPerConnection, getNumConnections, getPoolFactory, isBlockIfSessionPoolIsFull, isCreateConnectionOnStartup, setBlockIfSessionPoolIsFull, setConnectionFactory, setCreateConnectionOnStartup, setExpiryTimeout, setIdleTimeout, setMaxConnections, setMaximumActive, setMaximumActiveSessionPerConnection, setPoolFactory, setTimeBetweenExpirationCheckMillis, setTimeBetweenExpirationCheckMillis, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcaPooledConnectionFactory

public JcaPooledConnectionFactory()

JcaPooledConnectionFactory

public JcaPooledConnectionFactory(ActiveMQConnectionFactory connectionFactory)

JcaPooledConnectionFactory

public JcaPooledConnectionFactory(String brokerURL)
Method Detail

getName

public String getName()

setName

public void setName(String name)

createConnectionPool

protected ConnectionPool createConnectionPool(ActiveMQConnection 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.