/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.boot.spi;

import 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
/** * 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 */
public interface MetadataBuildingContext { BootstrapContext getBootstrapContext();
Access to the options specified by the MetadataBuilder
Returns:The options
/** * Access to the options specified by the {@link org.hibernate.boot.MetadataBuilder} * * @return The options */
MetadataBuildingOptions getBuildingOptions();
Access to mapping defaults in effect for this context
Returns:The mapping defaults.
/** * Access to mapping defaults in effect for this context * * @return The mapping defaults. */
MappingDefaults getMappingDefaults();
Access to the collector of metadata as we build it.
Returns:The metadata collector.
/** * Access to the collector of metadata as we build it. * * @return The metadata collector. */
InFlightMetadataCollector getMetadataCollector();
Provides access to ClassLoader services when needed during binding
Returns:The ClassLoaderAccess
Deprecated:Use BootstrapContext.getClassLoaderAccess()} instead.
/** * Provides access to ClassLoader services when needed during binding * * @return The ClassLoaderAccess * * @deprecated Use {@link BootstrapContext#getClassLoaderAccess()}} instead. */
@Deprecated ClassLoaderAccess getClassLoaderAccess();
Not sure how I feel about this exposed here
Returns:
/** * Not sure how I feel about this exposed here * * @return */
ObjectNameNormalizer getObjectNameNormalizer(); }