public abstract class ClassLoaderSPIConnectionFactory extends Object implements SPIConnectionFactory
Modifier and Type | Field and Description |
---|---|
static String |
KEY_EXT_DIR |
Constructor and Description |
---|
ClassLoaderSPIConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
createConnectionFactory(Properties settings) |
protected ClassLoader |
getContextClassLoader(Properties settings) |
protected abstract ConnectionFactory |
instantiateConnectionFactory(Properties settings) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configureConnectionFactory
public static final String KEY_EXT_DIR
public ClassLoaderSPIConnectionFactory()
public final ConnectionFactory createConnectionFactory(Properties settings) throws Exception
createConnectionFactory
in interface SPIConnectionFactory
Exception
protected ClassLoader getContextClassLoader(Properties settings)
protected abstract ConnectionFactory instantiateConnectionFactory(Properties settings) throws Exception
Exception
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.