| |
|
| java.lang.Object org.castor.ddlgen.GeneratorRegistry
GeneratorRegistry | final public class GeneratorRegistry (Code) | | Registry for Generator implementations obtained from the configuration.
author: Le Duc Bao author: Ralf Joachim version: $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $ since: 1.1 |
Method Summary | |
public Collection | getEngineNames() Returns a collection of the names of current configured database engines. | public Generator | getGenerator(String engine) Returns generator with given engine name or null if there is no such generator.
Parameters: engine - Name of database engine. | public Collection | getGenerators() Returns a collection of the current configured generators. |
GeneratorRegistry | public GeneratorRegistry(DDLGenConfiguration config)(Code) | | Construct an instance of each generator specified in given configuration.
Parameters: config - The configuration. |
getEngineNames | public Collection getEngineNames()(Code) | | 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(Code) | | Returns generator with given engine name or null if there is no such generator.
Parameters: engine - Name of database engine. Generator with given engine name. throws: GeneratorException - If no generator for engine can be found. |
getGenerators | public Collection getGenerators()(Code) | | Returns a collection of the current configured generators.
Collection of the current configured generators. |
|
|
|