org.apache.activemq.tool.spi
Class ClassLoaderSPIConnectionFactory

java.lang.Object
  extended by org.apache.activemq.tool.spi.ClassLoaderSPIConnectionFactory
All Implemented Interfaces:
SPIConnectionFactory
Direct Known Subclasses:
ReflectionSPIConnectionFactory

public abstract class ClassLoaderSPIConnectionFactory
extends Object
implements SPIConnectionFactory


Field Summary
static String KEY_EXT_DIR
           
 
Constructor Summary
ClassLoaderSPIConnectionFactory()
           
 
Method Summary
 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
Constructor Detail

ClassLoaderSPIConnectionFactory

public ClassLoaderSPIConnectionFactory()
Method Detail

createConnectionFactory

public final ConnectionFactory createConnectionFactory(Properties settings)
                                                throws Exception
Specified by:
createConnectionFactory in interface SPIConnectionFactory
Throws:
Exception

getContextClassLoader

protected ClassLoader getContextClassLoader(Properties settings)

instantiateConnectionFactory

protected abstract ConnectionFactory instantiateConnectionFactory(Properties settings)
                                                           throws Exception
Throws:
Exception


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