IdentifierGeneratorFactory implementations.
| Modifier and Type | Field and Description |
|---|---|
| private transient Dialect | |
| private ConcurrentHashMap | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IdentifierGenerator | createIdentifierGenerator(String
The generation strategy. strategy, Type The mapping type for the identifier values. type, Properties Any configuraion properties given in the generator mapping. config)Implements org. |
| public Class | getIdentifierGeneratorClass(String
The strategy strategy)Implements org. IdentifierGenerator for the given strategy.
|
| public void | |
| public void | setDialect(Dialect
The dialect dialect)Implements org. |
| dialect | back to summary |
|---|---|
| private transient Dialect dialect | |
| generatorStrategyToClassNameMap | back to summary |
|---|---|
| private ConcurrentHashMap<String, Class<T>> generatorStrategyToClassNameMap | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| DefaultIdentifierGeneratorFactory | back to summary |
|---|---|
| public DefaultIdentifierGeneratorFactory() Constructs a new DefaultIdentifierGeneratorFactory. | |
| createIdentifierGenerator | back to summary |
|---|---|
| public IdentifierGenerator createIdentifierGenerator(String strategy, Type type, Properties config) Implements org. Doc from org. Given a strategy, retrieve the appropriate identifier generator instance.
| |
| getIdentifierGeneratorClass | back to summary |
|---|---|
| public Class Implements org. Doc from org. Retrieve the class that will be used as the | |
| register | back to summary |
|---|---|
| public void register(String strategy, Class<T> generatorClass) | |
| setDialect | back to summary |
|---|---|
| public void setDialect(Dialect dialect) Implements org. Doc from org. Allow injection of the dialect to use.
| |