org.apache.ojb.broker.accesslayer.sql
Class SqlGeneratorFactory

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

public class SqlGeneratorFactory
extends ConfigurableFactory

This factory creates SqlGenerator instances. it is a configurable factory and can be used to generate user defined implementations too.

Author:
Thomas Mahler

Constructor Summary
SqlGeneratorFactory()
           
 
Method Summary
 SqlGenerator createSqlGenerator(Platform pf)
           
protected  java.lang.String getConfigurationKey()
          must be implemented in the concrete factory classes.
static SqlGeneratorFactory 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

SqlGeneratorFactory

public SqlGeneratorFactory()
Method Detail

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
See Also:
ConfigurableFactory.getConfigurationKey()

createSqlGenerator

public SqlGenerator createSqlGenerator(Platform pf)

getInstance

public static SqlGeneratorFactory getInstance()


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