Top Description Methods
org.hibernate.id

public Interface Configurable

Known Direct Subinterfaces
org.hibernate.id.IdentifierGenerator, org.hibernate.id.PostInsertIdentifierGenerator
Imports
java.util.Properties, org.hibernate.MappingException, org.hibernate.service.ServiceRegistry, org.hibernate.type.Type

An IdentifierGenerator that supports "configuration".
Authors
Gavin King, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
configure(Type
The id property type descriptor
type
,
Properties
param values, keyed by parameter name
params
,
ServiceRegistry
Access to service that may be needed.
serviceRegistry
)

Configure this instance, given the value of parameters specified by the user as <param> elements.

Method Detail

configureback to summary
public 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:Type

The id property type descriptor

params:Properties

param values, keyed by parameter name

serviceRegistry:ServiceRegistry

Access to service that may be needed.