Package org.hibernate.id
Interface Configurable
-
- All Known Implementing Classes:
Assigned
,ForeignGenerator
,IncrementGenerator
,MultipleHiLoPerTableGenerator
,OrderedSequenceGenerator
,SelectGenerator
,SequenceGenerator
,SequenceHiLoGenerator
,SequenceIdentityGenerator
,SequenceStyleGenerator
,TableGenerator
,UUIDGenerator
,UUIDHexGenerator
public interface Configurable
AnIdentifierGenerator
that supports "configuration".- See Also:
IdentifierGenerator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(Type type, java.util.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, java.util.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
-
-