org.apache.ojb.broker.accesslayer
Class ConnectionFactoryFactory
java.lang.Object
org.apache.ojb.broker.util.factory.ConfigurableFactory
org.apache.ojb.broker.accesslayer.ConnectionFactoryFactory
- All Implemented Interfaces:
- Configurable
public class ConnectionFactoryFactory
- extends ConfigurableFactory
Factory for ConnectionFactory
implementations.
See also ConnectionManagerFactory
- Version:
- $Id: ConnectionFactoryFactory.java,v 1.1 2007-08-24 22:17:30 ewestfal Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
private static ConnectionFactoryFactory singleton
conFactory
private ConnectionFactory conFactory
ConnectionFactoryFactory
public ConnectionFactoryFactory()
getInstance
public static ConnectionFactoryFactory getInstance()
createConnectionFactory
public ConnectionFactory createConnectionFactory()
- Returns the used
ConnectionFactory
implementation. Currently each call
returns the same implementation instance.
getConfigurationKey
protected String getConfigurationKey()
- Description copied from class:
ConfigurableFactory
- must be implemented in the concrete factory classes.
the configuration key is used to lookup the Class to serve
from the OjbConfiguration in configure().
- Specified by:
getConfigurationKey
in class ConfigurableFactory
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.