public static class Component.ValueGenerationPlan extends Object implements CompositeNestedGeneratedValueGenerator.GenerationPlan
Constructor and Description |
---|
ValueGenerationPlan(IdentifierGenerator subGenerator,
Setter injector) |
Modifier and Type | Method and Description |
---|---|
void |
execute(SessionImplementor session,
Object incomingObject,
Object injectionContext)
Execute the value generation.
|
void |
registerExportables(Database database)
Register the contained exportable things to the
Database |
public ValueGenerationPlan(IdentifierGenerator subGenerator, Setter injector)
public void execute(SessionImplementor session, Object incomingObject, Object injectionContext)
CompositeNestedGeneratedValueGenerator.GenerationPlan
execute
in interface CompositeNestedGeneratedValueGenerator.GenerationPlan
session
- The current sessionincomingObject
- The entity for which we are generating idinjectionContext
- The context into which the generated value can be injectedpublic void registerExportables(Database database)
ExportableProducer
Database
registerExportables
in interface ExportableProducer
database
- The database instanceCopyright © 2016 JBoss by Red Hat. All rights reserved.