Interface Configurable

All Known Subinterfaces:
IdentifierGenerator, OptimizableGenerator, PersistentIdentifierGenerator, PostInsertIdentifierGenerator
All Known Implementing Classes:
AbstractPostInsertGenerator, AbstractUUIDGenerator, Assigned, CompositeNestedGeneratedValueGenerator, ForeignGenerator, GUIDGenerator, IdentityGenerator, IncrementGenerator, SelectGenerator, SequenceStyleGenerator, TableGenerator, UUIDGenerator, UUIDHexGenerator

public interface Configurable
An IdentifierGenerator that supports "configuration".
  • Method Summary

    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 Details

    • 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 descriptor
      params - param values, keyed by parameter name
      serviceRegistry - Access to service that may be needed.
      Throws:
      MappingException