Package org.hibernate.boot.spi
Interface MetadataBuilderFactory
An extension point for integrators that wish to hook into the process of how a
Metadata
is built. Intended as
a "discoverable service" (a ServiceLoader
). There can be at most one implementation discovered that
returns a non-null MetadataBuilder
.-
Method Summary
Modifier and TypeMethodDescriptiongetMetadataBuilder
(MetadataSources metadatasources, MetadataBuilderImplementor defaultBuilder) Creates aMetadataBuilderImplementor
.
-
Method Details
-
getMetadataBuilder
MetadataBuilderImplementor getMetadataBuilder(MetadataSources metadatasources, MetadataBuilderImplementor defaultBuilder) Creates aMetadataBuilderImplementor
.- Parameters:
metadatasources
- The current metadata sourcesdefaultBuilder
- The default builder, may be used as a delegate- Returns:
- a new metadata builder
-