接口 MetadataBuildingContext
-
public interface MetadataBuildingContextDescribes 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- 从以下版本开始:
- 5.0
- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 BootstrapContextgetBootstrapContext()MetadataBuildingOptionsgetBuildingOptions()Access to the options specified by theMetadataBuilderClassLoaderAccessgetClassLoaderAccess()已过时。UseBootstrapContext.getClassLoaderAccess()} instead.MappingDefaultsgetMappingDefaults()Access to mapping defaults in effect for this contextInFlightMetadataCollectorgetMetadataCollector()Access to the collector of metadata as we build it.ObjectNameNormalizergetObjectNameNormalizer()Not sure how I feel about this exposed here
-
-
-
方法详细资料
-
getBootstrapContext
BootstrapContext getBootstrapContext()
-
getBuildingOptions
MetadataBuildingOptions getBuildingOptions()
Access to the options specified by theMetadataBuilder- 返回:
- The options
-
getMappingDefaults
MappingDefaults getMappingDefaults()
Access to mapping defaults in effect for this context- 返回:
- The mapping defaults.
-
getMetadataCollector
InFlightMetadataCollector getMetadataCollector()
Access to the collector of metadata as we build it.- 返回:
- The metadata collector.
-
getClassLoaderAccess
@Deprecated ClassLoaderAccess getClassLoaderAccess()
已过时。UseBootstrapContext.getClassLoaderAccess()} instead.Provides access to ClassLoader services when needed during binding- 返回:
- The ClassLoaderAccess
-
getObjectNameNormalizer
ObjectNameNormalizer getObjectNameNormalizer()
Not sure how I feel about this exposed here- 返回:
- The ObjectNameNormalizer
-
-