org.castor.ddlgen
Class GeneratorRegistry
java.lang.Object
org.castor.ddlgen.GeneratorRegistry
public final class GeneratorRegistry
extends java.lang.Object
Registry for Generator implementations obtained from the configuration.
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Collection | getEngineNames() - Returns a collection of the names of current configured database engines.
|
Generator | getGenerator(String engine) - Returns generator with given engine name or null if there is no such generator.
|
Collection | getGenerators() - Returns a collection of the current configured generators.
|
GeneratorRegistry
public GeneratorRegistry(DDLGenConfiguration config)
Construct an instance of each generator specified in given configuration.
config
- The configuration.
getEngineNames
public Collection getEngineNames()
Returns a collection of the names of current configured database engines.
- Names of the configured database engines.
getGenerator
public Generator getGenerator(String engine)
throws GeneratorException
Returns generator with given engine name or null if there is no such generator.
engine
- Name of database engine.
- Generator with given engine name.
getGenerators
public Collection getGenerators()
Returns a collection of the current configured generators.
- Collection of the current configured generators.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com