org.apache.ojb.broker.accesslayer
Class ConnectionManagerFactory

java.lang.Object
  extended byorg.apache.ojb.broker.util.factory.ConfigurableFactory
      extended byorg.apache.ojb.broker.accesslayer.ConnectionManagerFactory
All Implemented Interfaces:
Configurable

public class ConnectionManagerFactory
extends ConfigurableFactory

Factory for ConnectionManagerIF implementations.
See also ConnectionFactoryFactory

Version:
$Id: ConnectionManagerFactory.java,v 1.1 2003/01/15 10:43:28 arminw Exp $
Author:
Armin Waibel

Constructor Summary
ConnectionManagerFactory()
           
 
Method Summary
 ConnectionManagerIF createConnectionManager(PersistenceBroker broker)
           
protected  java.lang.String getConfigurationKey()
          must be implemented in the concrete factory classes.
static ConnectionManagerFactory getInstance()
           
 
Methods inherited from class org.apache.ojb.broker.util.factory.ConfigurableFactory
buildArgumentString, configure, createNewInstance, createNewInstance, createNewInstance, getClassToServe, getLogger, setClassToServe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManagerFactory

public ConnectionManagerFactory()
Method Detail

getInstance

public static ConnectionManagerFactory getInstance()

getConfigurationKey

protected java.lang.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

createConnectionManager

public ConnectionManagerIF createConnectionManager(PersistenceBroker broker)


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14