Top Description Methods
org.hibernate.boot.spi

public Interface MetadataBuildingContext

Known Direct Subinterfaces
org.hibernate.boot.model.source.spi.LocalMetadataBuildingContext
Known Direct Implementers
org.hibernate.boot.internal.MetadataBuildingContextRootImpl
Imports
org.hibernate.boot.model.naming.ObjectNameNormalizer

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
Author
Steve Ebersole
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public BootstrapContext
public MetadataBuildingOptions

Returns:

The options
getBuildingOptions
()

Access to the options specified by the org.hibernate.boot.MetadataBuilder

public ClassLoaderAccess

Returns:

The ClassLoaderAccess
getClassLoaderAccess
()

Deprecated Use BootstrapContext#getClassLoaderAccess()} instead.
Provides access to ClassLoader services when needed during binding
public MappingDefaults

Returns:

The mapping defaults.
getMappingDefaults
()

Access to mapping defaults in effect for this context

public InFlightMetadataCollector

Returns:

The metadata collector.
getMetadataCollector
()

Access to the collector of metadata as we build it.

public ObjectNameNormalizer

Returns:

The ObjectNameNormalizer
getObjectNameNormalizer
()

Not sure how I feel about this exposed here

Method Detail

getBootstrapContextback to summary
public BootstrapContext getBootstrapContext()
getBuildingOptionsback to summary
public MetadataBuildingOptions getBuildingOptions()

Access to the options specified by the org.hibernate.boot.MetadataBuilder

Returns:MetadataBuildingOptions

The options

getClassLoaderAccessback to summary
public ClassLoaderAccess getClassLoaderAccess()

Deprecated

Use BootstrapContext#getClassLoaderAccess()} instead.

Provides access to ClassLoader services when needed during binding

Returns:ClassLoaderAccess

The ClassLoaderAccess

Annotations
@Deprecated
getMappingDefaultsback to summary
public MappingDefaults getMappingDefaults()

Access to mapping defaults in effect for this context

Returns:MappingDefaults

The mapping defaults.

getMetadataCollectorback to summary
public InFlightMetadataCollector getMetadataCollector()

Access to the collector of metadata as we build it.

Returns:InFlightMetadataCollector

The metadata collector.

getObjectNameNormalizerback to summary
public ObjectNameNormalizer getObjectNameNormalizer()

Not sure how I feel about this exposed here

Returns:ObjectNameNormalizer

The ObjectNameNormalizer