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 AuditEntityConfigurationRegistry
getAuditEntityConfigurationRegistry()
AuditEntityNameRegister
getAuditEntityNameRegistry()
BootstrapContext
getBootstrapContext()
MetadataBuildingOptions
getBuildingOptions()
Access to the options specified by theMetadataBuilder
Configuration
getConfiguration()
String
getCurrentContributorName()
The name of the contributor whose mappings we are currently processingMappingCollector
getMappingCollector()
MappingDefaults
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 hereorg.hibernate.annotations.common.reflection.ReflectionManager
getReflectionManager()
ServiceRegistry
getServiceRegistry()
TypeDefinitionRegistry
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
-
-
-
-
Constructor Detail
-
EnversMetadataBuildingContextImpl
public EnversMetadataBuildingContextImpl(Configuration configuration, InFlightMetadataCollector metadataCollector, MappingCollector mappingCollector)
-
-
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 TypeDefinitionRegistry 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
-
getConfiguration
public Configuration getConfiguration()
- Specified by:
getConfiguration
in interfaceEnversMetadataBuildingContext
-
getMappingCollector
public MappingCollector getMappingCollector()
- Specified by:
getMappingCollector
in interfaceEnversMetadataBuildingContext
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistry
in interfaceEnversMetadataBuildingContext
-
getReflectionManager
public org.hibernate.annotations.common.reflection.ReflectionManager getReflectionManager()
- Specified by:
getReflectionManager
in interfaceEnversMetadataBuildingContext
-
getAuditEntityNameRegistry
public AuditEntityNameRegister getAuditEntityNameRegistry()
- Specified by:
getAuditEntityNameRegistry
in interfaceEnversMetadataBuildingContext
-
getAuditEntityConfigurationRegistry
public AuditEntityConfigurationRegistry getAuditEntityConfigurationRegistry()
- Specified by:
getAuditEntityConfigurationRegistry
in interfaceEnversMetadataBuildingContext
-
-