public final class GeneratorRegistry
extends java.lang.Object
Constructor and Description |
---|
GeneratorRegistry(DDLGenConfiguration config)
Construct an instance of each generator specified in given configuration.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getEngineNames()
Returns a collection of the names of current configured database engines.
|
Generator |
getGenerator(java.lang.String engine)
Returns generator with given engine name or null if there is no such generator.
|
java.util.Collection<Generator> |
getGenerators()
Returns a collection of the current configured generators.
|
public GeneratorRegistry(DDLGenConfiguration config)
config
- The configuration.public Generator getGenerator(java.lang.String engine) throws GeneratorException
engine
- Name of database engine.GeneratorException
- If no generator for engine can be found.public java.util.Collection<Generator> getGenerators()
public java.util.Collection<java.lang.String> getEngineNames()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com