Class EnversMetadataBuildingContextImpl
- java.lang.Object
-
- org.hibernate.envers.boot.internal.EnversMetadataBuildingContextImpl
-
- All Implemented Interfaces:
MetadataBuildingContext,EnversMetadataBuildingContext
public class EnversMetadataBuildingContextImpl extends Object implements EnversMetadataBuildingContext
-
-
Constructor Summary
Constructors Constructor Description EnversMetadataBuildingContextImpl(Configuration configuration, InFlightMetadataCollector metadataCollector, MappingCollector mappingCollector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditEntityConfigurationRegistrygetAuditEntityConfigurationRegistry()AuditEntityNameRegistergetAuditEntityNameRegistry()BootstrapContextgetBootstrapContext()MetadataBuildingOptionsgetBuildingOptions()Access to the options specified by theMetadataBuilderConfigurationgetConfiguration()StringgetCurrentContributorName()The name of the contributor whose mappings we are currently processingMappingCollectorgetMappingCollector()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 hereorg.hibernate.annotations.common.reflection.ReflectionManagergetReflectionManager()ServiceRegistrygetServiceRegistry()TypeDefinitionRegistrygetTypeDefinitionRegistry()-
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
-
-
-
-
Constructor Detail
-
EnversMetadataBuildingContextImpl
public EnversMetadataBuildingContextImpl(Configuration configuration, InFlightMetadataCollector metadataCollector, MappingCollector mappingCollector)
-
-
Method Detail
-
getBootstrapContext
public BootstrapContext getBootstrapContext()
- Specified by:
getBootstrapContextin interfaceMetadataBuildingContext
-
getBuildingOptions
public MetadataBuildingOptions getBuildingOptions()
Description copied from interface:MetadataBuildingContextAccess to the options specified by theMetadataBuilder- Specified by:
getBuildingOptionsin interfaceMetadataBuildingContext- Returns:
- The options
-
getMappingDefaults
public MappingDefaults getMappingDefaults()
Description copied from interface:MetadataBuildingContextAccess to mapping defaults in effect for this context- Specified by:
getMappingDefaultsin interfaceMetadataBuildingContext- Returns:
- The mapping defaults.
-
getMetadataCollector
public InFlightMetadataCollector getMetadataCollector()
Description copied from interface:MetadataBuildingContextAccess to the collector of metadata as we build it.- Specified by:
getMetadataCollectorin interfaceMetadataBuildingContext- Returns:
- The metadata collector.
-
getObjectNameNormalizer
public ObjectNameNormalizer getObjectNameNormalizer()
Description copied from interface:MetadataBuildingContextNot sure how I feel about this exposed here- Specified by:
getObjectNameNormalizerin interfaceMetadataBuildingContext- Returns:
- The ObjectNameNormalizer
-
getTypeDefinitionRegistry
public TypeDefinitionRegistry getTypeDefinitionRegistry()
- Specified by:
getTypeDefinitionRegistryin interfaceMetadataBuildingContext
-
getCurrentContributorName
public String getCurrentContributorName()
Description copied from interface:MetadataBuildingContextThe name of the contributor whose mappings we are currently processing- Specified by:
getCurrentContributorNamein interfaceMetadataBuildingContext
-
getConfiguration
public Configuration getConfiguration()
- Specified by:
getConfigurationin interfaceEnversMetadataBuildingContext
-
getMappingCollector
public MappingCollector getMappingCollector()
- Specified by:
getMappingCollectorin interfaceEnversMetadataBuildingContext
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistryin interfaceEnversMetadataBuildingContext
-
getReflectionManager
public org.hibernate.annotations.common.reflection.ReflectionManager getReflectionManager()
- Specified by:
getReflectionManagerin interfaceEnversMetadataBuildingContext
-
getAuditEntityNameRegistry
public AuditEntityNameRegister getAuditEntityNameRegistry()
- Specified by:
getAuditEntityNameRegistryin interfaceEnversMetadataBuildingContext
-
getAuditEntityConfigurationRegistry
public AuditEntityConfigurationRegistry getAuditEntityConfigurationRegistry()
- Specified by:
getAuditEntityConfigurationRegistryin interfaceEnversMetadataBuildingContext
-
-