Package org.hibernate.id
Interface Configurable
-
- All Known Subinterfaces:
IdentifierGenerator
,OptimizableGenerator
,PersistentIdentifierGenerator
,PostInsertIdentifierGenerator
- All Known Implementing Classes:
AbstractPostInsertGenerator
,AbstractUUIDGenerator
,Assigned
,CompositeNestedGeneratedValueGenerator
,ForeignGenerator
,GUIDGenerator
,IdentityGenerator
,IncrementGenerator
,OrderedSequenceGenerator
,SelectGenerator
,SequenceStyleGenerator
,TableGenerator
,UUIDGenerator
,UUIDHexGenerator
public interface Configurable
AnIdentifierGenerator
that supports "configuration".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(Type type, Properties params, ServiceRegistry serviceRegistry)
Configure this instance, given the value of parameters specified by the user as<param>
elements.
-
-
-
Method Detail
-
configure
void configure(Type type, Properties params, ServiceRegistry serviceRegistry) throws MappingException
Configure this instance, given the value of parameters specified by the user as<param>
elements. This method is called just once, following instantiation.- Parameters:
type
- The id property type descriptorparams
- param values, keyed by parameter nameserviceRegistry
- Access to service that may be needed.- Throws:
MappingException
-
-