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

java.lang.Object
  extended by org.apache.ojb.broker.util.factory.ConfigurableFactory
      extended by org.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  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 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()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.