Package org.hibernate.testing.boot
Class MetadataBuildingContextTestingImpl
- java.lang.Object
-
- org.hibernate.testing.boot.MetadataBuildingContextTestingImpl
-
- All Implemented Interfaces:
MetadataBuildingContext
public class MetadataBuildingContextTestingImpl extends Object implements MetadataBuildingContext
-
-
Constructor Summary
Constructors Constructor Description 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
String
getCurrentContributorName()
The name of the contributor whose mappings we are currently processingMappingDefaults
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 hereTypeDefinitionRegistryStandardImpl
getTypeDefinitionRegistry()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.boot.spi.MetadataBuildingContext
getPreferredSqlTypeCodeForArray, getPreferredSqlTypeCodeForBoolean, getPreferredSqlTypeCodeForDuration, getPreferredSqlTypeCodeForInstant, getPreferredSqlTypeCodeForUuid, isPreferJavaTimeJdbcTypesEnabled, isPreferNativeEnumTypesEnabled
-
-
-
-
Constructor Detail
-
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.
-
getObjectNameNormalizer
public ObjectNameNormalizer getObjectNameNormalizer()
Description copied from interface:MetadataBuildingContext
Not sure how I feel about this exposed here- Specified by:
getObjectNameNormalizer
in interfaceMetadataBuildingContext
- Returns:
- The ObjectNameNormalizer
-
getTypeDefinitionRegistry
public TypeDefinitionRegistryStandardImpl getTypeDefinitionRegistry()
- Specified by:
getTypeDefinitionRegistry
in interfaceMetadataBuildingContext
-
getCurrentContributorName
public String getCurrentContributorName()
Description copied from interface:MetadataBuildingContext
The name of the contributor whose mappings we are currently processing- Specified by:
getCurrentContributorName
in interfaceMetadataBuildingContext
-
-