|
||||||||||
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(java.lang.String strategy,
Type type,
java.util.Properties config)
Given a strategy, retrieve the appropriate identifier generator instance. |
java.lang.Class |
getIdentifierGeneratorClass(java.lang.String strategy)
Retrieve the class that will be used as the IdentifierGenerator for 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 dialectIdentifierGenerator createIdentifierGenerator(java.lang.String strategy, Type type, java.util.Properties config)
strategy
- The generation strategy.type
- The mapping type for the identifier values.config
- Any configuraion properties given in the generator mapping.
java.lang.Class getIdentifierGeneratorClass(java.lang.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 |