| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdentifierGeneratorFactory
Contract for a factory of IdentifierGenerator instances.
| Method Summary | |
|---|---|
|  IdentifierGenerator | createIdentifierGenerator(String strategy,
                          Type type,
                          Properties config)Given a strategy, retrieve the appropriate identifier generator instance. | 
|  Class | getIdentifierGeneratorClass(String strategy)Retrieve the class that will be used as the IdentifierGeneratorfor the given strategy. | 
|  void | setDialect(Dialect dialect)Deprecated. The intention is that Dialect should be required to be specified up-front and it would then get ctor injected. | 
| Method Detail | 
|---|
void setDialect(Dialect dialect)
dialect - The dialect
IdentifierGenerator createIdentifierGenerator(String strategy,
                                              Type type,
                                              Properties config)
strategy - The generation strategy.type - The mapping type for the identifier values.config - Any configuraion properties given in the generator mapping.
Class getIdentifierGeneratorClass(String strategy)
IdentifierGenerator for the given strategy.
strategy - The strategy
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||