|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.ddlgen.GeneratorRegistry
public final class GeneratorRegistry
Registry for Generator implementations obtained from the configuration.
| Constructor Summary | |
|---|---|
GeneratorRegistry(DDLGenConfiguration config)
Construct an instance of each generator specified in given configuration. |
|
| Method Summary | |
|---|---|
Collection<String> |
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<Generator> |
getGenerators()
Returns a collection of the current configured generators. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeneratorRegistry(DDLGenConfiguration config)
config - The configuration.| Method Detail |
|---|
public Generator getGenerator(String engine)
throws GeneratorException
engine - Name of database engine.
GeneratorException - If no generator for engine can be found.public Collection<Generator> getGenerators()
public Collection<String> getEngineNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||