org.apache.activemq.pool
Class AmqJNDIPooledConnectionFactory
java.lang.Object
org.apache.activemq.pool.PooledConnectionFactory
org.apache.activemq.pool.AmqJNDIPooledConnectionFactory
- All Implemented Interfaces:
- ConnectionFactory, Referenceable, JNDIStorableInterface, Service
public class AmqJNDIPooledConnectionFactory
- extends PooledConnectionFactory
- implements JNDIStorableInterface
AmqJNDIPooledConnectionFactory.java
Created by linus on 2008-03-07.
Methods inherited from class org.apache.activemq.pool.PooledConnectionFactory |
createConnection, createConnection, createConnection, createConnectionPool, createPoolFactory, getConnectionFactory, getIdleTimeout, getMaxConnections, getMaximumActive, getPoolFactory, setConnectionFactory, setIdleTimeout, setMaxConnections, setMaximumActive, setPoolFactory, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmqJNDIPooledConnectionFactory
public AmqJNDIPooledConnectionFactory()
AmqJNDIPooledConnectionFactory
public AmqJNDIPooledConnectionFactory(String brokerURL)
AmqJNDIPooledConnectionFactory
public AmqJNDIPooledConnectionFactory(ActiveMQConnectionFactory connectionFactory)
setProperties
public void setProperties(Properties props)
- set the properties for this instance as retrieved from JNDI
- Specified by:
setProperties
in interface JNDIStorableInterface
- Parameters:
props
-
getProperties
public Properties getProperties()
- Get the properties from this instance for storing in JNDI
- Specified by:
getProperties
in interface JNDIStorableInterface
- Returns:
- the properties
getReference
public Reference getReference()
throws NamingException
- Retrive a Reference for this instance to store in JNDI
- Specified by:
getReference
in interface Referenceable
- Returns:
- the built Reference
- Throws:
NamingException
- if error on building Reference
buildFromProperties
public void buildFromProperties(Properties properties)
populateProperties
public void populateProperties(Properties props)
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.