Package org.apache.activemq.tool.spi
Class ClassLoaderSPIConnectionFactory
- java.lang.Object
-
- org.apache.activemq.tool.spi.ClassLoaderSPIConnectionFactory
-
- All Implemented Interfaces:
SPIConnectionFactory
- Direct Known Subclasses:
ReflectionSPIConnectionFactory
public abstract class ClassLoaderSPIConnectionFactory extends Object implements SPIConnectionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_EXT_DIR
-
Constructor Summary
Constructors Constructor Description ClassLoaderSPIConnectionFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ConnectionFactory
createConnectionFactory(Properties settings)
protected ClassLoader
getContextClassLoader(Properties settings)
protected abstract ConnectionFactory
instantiateConnectionFactory(Properties settings)
-
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.tool.spi.SPIConnectionFactory
configureConnectionFactory
-
-
-
-
Field Detail
-
KEY_EXT_DIR
public static final String KEY_EXT_DIR
- See Also:
- Constant Field Values
-
-
Method Detail
-
createConnectionFactory
public final ConnectionFactory createConnectionFactory(Properties settings) throws Exception
- Specified by:
createConnectionFactory
in interfaceSPIConnectionFactory
- Throws:
Exception
-
getContextClassLoader
protected ClassLoader getContextClassLoader(Properties settings)
-
instantiateConnectionFactory
protected abstract ConnectionFactory instantiateConnectionFactory(Properties settings) throws Exception
- Throws:
Exception
-
-