Package org.hibernate.boot.spi
Interface MetadataBuilderFactory
-
public interface MetadataBuilderFactoryAn extension point for integrators that wish to hook into the process of how aMetadatais built. Intended as a "discoverable service" (ServiceLoader). There can be at most one implementation discovered that returns a non-null SessionFactoryBuilder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetadataBuilderImplementorgetMetadataBuilder(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
-
-