Package org.hibernate.boot.spi
Interface MetadataBuilderFactory
-
@JavaServiceLoadable public interface MetadataBuilderFactory
An extension point for integrators that wish to hook into the process of how aMetadata
is built. Intended as a "discoverable service" (aServiceLoader
). There can be at most one implementation discovered that returns a non-nullMetadataBuilder
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetadataBuilderImplementor
getMetadataBuilder(MetadataSources metadatasources, MetadataBuilderImplementor defaultBuilder)
Creates aMetadataBuilderImplementor
.
-
-
-
Method Detail
-
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
-
-