org.hibernate.id.factory.IdentifierGeneratorFactory implementations.
| Modifier and Type | Field and Description |
|---|---|
| private BeanContainer | |
| private Dialect | |
| private final ConcurrentHashMap | |
| private final boolean | |
| private static final CoreMessageLogger | |
| private ServiceRegistry |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DefaultIdentifierGeneratorFactory(boolean ignoreBeanContainer)
Allows to explicitly control if the BeanContainer should be ignored (if there is one registered) when initializing any new IdentifierGenerator instances. |
| 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 configuration properties given in the generator mapping. config)Implements org.
Deprecated
as a consequence of
Given a strategy, retrieve the appropriate identifier generator instance.
IdentifierGenerator being deprecated.
|
| public Dialect | getDialect()
Implements org. |
| public Class | getIdentifierGeneratorClass(String
The strategy strategy)Implements org. IdentifierGenerator for the given strategy.
|
| public void | injectServices(ServiceRegistryImplementor
The registry serviceRegistry)Implements org. |
| public void | register(String strategy, Class<T> generatorClass)
Implements org. |
| public void | setDialect(Dialect
The dialect dialect)Implements org. |
| beanContainer | back to summary |
|---|---|
| private BeanContainer beanContainer | |
| dialect | back to summary |
|---|---|
| private Dialect dialect | |
| generatorStrategyToClassNameMap | back to summary |
|---|---|
| private final ConcurrentHashMap<String, Class<T>> generatorStrategyToClassNameMap | |
| ignoreBeanContainer | back to summary |
|---|---|
| private final boolean ignoreBeanContainer | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| serviceRegistry | back to summary |
|---|---|
| private ServiceRegistry serviceRegistry | |
| DefaultIdentifierGeneratorFactory | back to summary |
|---|---|
| public DefaultIdentifierGeneratorFactory() Constructs a new DefaultIdentifierGeneratorFactory. | |
| DefaultIdentifierGeneratorFactory | back to summary |
|---|---|
| public DefaultIdentifierGeneratorFactory(boolean ignoreBeanContainer) Allows to explicitly control if the BeanContainer should be ignored (if there is one registered) when initializing any new IdentifierGenerator instances. | |
| createIdentifierGenerator | back to summary |
|---|---|
| public IdentifierGenerator createIdentifierGenerator(String strategy, Type type, Properties config) Implements org. Doc from org. Deprecated as a consequence of Given a strategy, retrieve the appropriate identifier generator instance.
| |
| getDialect | back to summary |
|---|---|
| public Dialect getDialect() Implements org. Doc from org. Get the dialect. | |
| getIdentifierGeneratorClass | back to summary |
|---|---|
| public Class Implements org. Doc from org. Retrieve the class that will be used as the | |
| injectServices | back to summary |
|---|---|
| public void injectServices(ServiceRegistryImplementor serviceRegistry) Implements org. Doc from org. Callback to inject the registry.
| |
| register | back to summary |
|---|---|
| public void register(String strategy, Class<T> generatorClass) Implements org. | |
| setDialect | back to summary |
|---|---|
| public void setDialect(Dialect dialect) Implements org. Doc from org. Allow injection of the dialect to use. | |