Package org.hibernate.boot.spi
Interface MetadataBuildingContext
-
- All Known Subinterfaces:
LocalMetadataBuildingContext
- All Known Implementing Classes:
MetadataBuildingContextTestingImpl
public interface MetadataBuildingContext
Describes the context in which the process of building Metadata out of MetadataSources occurs. BindingContext are generally hierarchical getting more specific as we "go down". E.g. global -> PU -> document -> mapping- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BootstrapContext
getBootstrapContext()
MetadataBuildingOptions
getBuildingOptions()
Access to the options specified by theMetadataBuilder
ClassLoaderAccess
getClassLoaderAccess()
Deprecated.UseBootstrapContext.getClassLoaderAccess()
} instead.MappingDefaults
getMappingDefaults()
Access to mapping defaults in effect for this contextInFlightMetadataCollector
getMetadataCollector()
Access to the collector of metadata as we build it.ObjectNameNormalizer
getObjectNameNormalizer()
Not sure how I feel about this exposed here
-
-
-
Method Detail
-
getBootstrapContext
BootstrapContext getBootstrapContext()
-
getBuildingOptions
MetadataBuildingOptions getBuildingOptions()
Access to the options specified by theMetadataBuilder
- Returns:
- The options
-
getMappingDefaults
MappingDefaults getMappingDefaults()
Access to mapping defaults in effect for this context- Returns:
- The mapping defaults.
-
getMetadataCollector
InFlightMetadataCollector getMetadataCollector()
Access to the collector of metadata as we build it.- Returns:
- The metadata collector.
-
getClassLoaderAccess
@Deprecated ClassLoaderAccess getClassLoaderAccess()
Deprecated.UseBootstrapContext.getClassLoaderAccess()
} instead.Provides access to ClassLoader services when needed during binding- Returns:
- The ClassLoaderAccess
-
getObjectNameNormalizer
ObjectNameNormalizer getObjectNameNormalizer()
Not sure how I feel about this exposed here- Returns:
-
-