Package org.hibernate.testing.boot
Class MetadataBuildingContextTestingImpl
- java.lang.Object
-
- org.hibernate.testing.boot.MetadataBuildingContextTestingImpl
-
- All Implemented Interfaces:
MetadataBuildingContext
public class MetadataBuildingContextTestingImpl extends java.lang.Object implements MetadataBuildingContext
-
-
Constructor Summary
Constructors Constructor Description MetadataBuildingContextTestingImpl()
MetadataBuildingContextTestingImpl(StandardServiceRegistry serviceRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BootstrapContext
getBootstrapContext()
MetadataBuildingOptions
getBuildingOptions()
Access to the options specified by theMetadataBuilder
ClassLoaderAccess
getClassLoaderAccess()
Provides access to ClassLoader services when needed during bindingMappingDefaults
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
-
-
-
Constructor Detail
-
MetadataBuildingContextTestingImpl
public MetadataBuildingContextTestingImpl()
-
MetadataBuildingContextTestingImpl
public MetadataBuildingContextTestingImpl(StandardServiceRegistry serviceRegistry)
-
-
Method Detail
-
getBootstrapContext
public BootstrapContext getBootstrapContext()
- Specified by:
getBootstrapContext
in interfaceMetadataBuildingContext
-
getBuildingOptions
public MetadataBuildingOptions getBuildingOptions()
Description copied from interface:MetadataBuildingContext
Access to the options specified by theMetadataBuilder
- Specified by:
getBuildingOptions
in interfaceMetadataBuildingContext
- Returns:
- The options
-
getMappingDefaults
public MappingDefaults getMappingDefaults()
Description copied from interface:MetadataBuildingContext
Access to mapping defaults in effect for this context- Specified by:
getMappingDefaults
in interfaceMetadataBuildingContext
- Returns:
- The mapping defaults.
-
getMetadataCollector
public InFlightMetadataCollector getMetadataCollector()
Description copied from interface:MetadataBuildingContext
Access to the collector of metadata as we build it.- Specified by:
getMetadataCollector
in interfaceMetadataBuildingContext
- Returns:
- The metadata collector.
-
getClassLoaderAccess
public ClassLoaderAccess getClassLoaderAccess()
Description copied from interface:MetadataBuildingContext
Provides access to ClassLoader services when needed during binding- Specified by:
getClassLoaderAccess
in interfaceMetadataBuildingContext
- Returns:
- The ClassLoaderAccess
-
getObjectNameNormalizer
public ObjectNameNormalizer getObjectNameNormalizer()
Description copied from interface:MetadataBuildingContext
Not sure how I feel about this exposed here- Specified by:
getObjectNameNormalizer
in interfaceMetadataBuildingContext
- Returns:
-
-