Package org.hibernate.testing.boot
Class BootstrapContextImpl
java.lang.Object
org.hibernate.testing.boot.BootstrapContextImpl
- All Implemented Interfaces:
AutoCloseable,org.hibernate.boot.spi.BootstrapContext
public class BootstrapContextImpl
extends Object
implements org.hibernate.boot.spi.BootstrapContext, AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionBootstrapContextImpl(org.hibernate.boot.registry.StandardServiceRegistry serviceRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.hibernate.boot.archive.spi.ArchiveDescriptorFactoryCollection<org.hibernate.boot.model.convert.spi.ConverterDescriptor<?, ?>> Collection<org.hibernate.boot.model.relational.AuxiliaryDatabaseObject> Collection<org.hibernate.boot.CacheRegionDefinition> org.hibernate.boot.spi.ClassLoaderAccessorg.hibernate.boot.registry.classloading.spi.ClassLoaderServiceorg.hibernate.boot.spi.ClassmateContextorg.hibernate.engine.config.spi.ConfigurationServiceorg.hibernate.resource.beans.spi.BeanInstanceProducerorg.hibernate.query.sqm.function.SqmFunctionRegistryorg.hibernate.jpa.spi.MutableJpaComplianceorg.hibernate.resource.beans.spi.ManagedBeanRegistryorg.hibernate.boot.spi.MetadataBuildingOptionsorg.hibernate.models.spi.ModelsContextorg.hibernate.metamodel.spi.ManagedTypeRepresentationResolverorg.hibernate.boot.archive.scan.spi.ScanEnvironmentorg.hibernate.boot.archive.scan.spi.ScanOptionsorg.hibernate.boot.registry.StandardServiceRegistryorg.hibernate.type.spi.TypeConfigurationbooleanvoidvoidregisterAdHocBasicType(org.hibernate.type.BasicType<?> basicType) voidrelease()<T> org.hibernate.type.BasicType<T>
-
Constructor Details
-
BootstrapContextImpl
public BootstrapContextImpl() -
BootstrapContextImpl
public BootstrapContextImpl(org.hibernate.boot.registry.StandardServiceRegistry serviceRegistry)
-
-
Method Details
-
getServiceRegistry
public org.hibernate.boot.registry.StandardServiceRegistry getServiceRegistry()- Specified by:
getServiceRegistryin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getJpaCompliance
public org.hibernate.jpa.spi.MutableJpaCompliance getJpaCompliance()- Specified by:
getJpaCompliancein interfaceorg.hibernate.boot.spi.BootstrapContext
-
getTypeConfiguration
public org.hibernate.type.spi.TypeConfiguration getTypeConfiguration()- Specified by:
getTypeConfigurationin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getModelsContext
public org.hibernate.models.spi.ModelsContext getModelsContext()- Specified by:
getModelsContextin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getFunctionRegistry
public org.hibernate.query.sqm.function.SqmFunctionRegistry getFunctionRegistry()- Specified by:
getFunctionRegistryin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getCustomTypeProducer
public org.hibernate.resource.beans.spi.BeanInstanceProducer getCustomTypeProducer()- Specified by:
getCustomTypeProducerin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getMetadataBuildingOptions
public org.hibernate.boot.spi.MetadataBuildingOptions getMetadataBuildingOptions()- Specified by:
getMetadataBuildingOptionsin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getClassLoaderService
public org.hibernate.boot.registry.classloading.spi.ClassLoaderService getClassLoaderService()- Specified by:
getClassLoaderServicein interfaceorg.hibernate.boot.spi.BootstrapContext
-
getManagedBeanRegistry
public org.hibernate.resource.beans.spi.ManagedBeanRegistry getManagedBeanRegistry()- Specified by:
getManagedBeanRegistryin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getConfigurationService
public org.hibernate.engine.config.spi.ConfigurationService getConfigurationService()- Specified by:
getConfigurationServicein interfaceorg.hibernate.boot.spi.BootstrapContext
-
isJpaBootstrap
public boolean isJpaBootstrap()- Specified by:
isJpaBootstrapin interfaceorg.hibernate.boot.spi.BootstrapContext
-
markAsJpaBootstrap
public void markAsJpaBootstrap()- Specified by:
markAsJpaBootstrapin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getJpaTempClassLoader
- Specified by:
getJpaTempClassLoaderin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getClassLoaderAccess
public org.hibernate.boot.spi.ClassLoaderAccess getClassLoaderAccess()- Specified by:
getClassLoaderAccessin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getClassmateContext
public org.hibernate.boot.spi.ClassmateContext getClassmateContext()- Specified by:
getClassmateContextin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getArchiveDescriptorFactory
public org.hibernate.boot.archive.spi.ArchiveDescriptorFactory getArchiveDescriptorFactory()- Specified by:
getArchiveDescriptorFactoryin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getScanOptions
public org.hibernate.boot.archive.scan.spi.ScanOptions getScanOptions()- Specified by:
getScanOptionsin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getScanEnvironment
public org.hibernate.boot.archive.scan.spi.ScanEnvironment getScanEnvironment()- Specified by:
getScanEnvironmentin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getScanner
- Specified by:
getScannerin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getJandexView
- Specified by:
getJandexViewin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getSqlFunctions
- Specified by:
getSqlFunctionsin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getAuxiliaryDatabaseObjectList
public Collection<org.hibernate.boot.model.relational.AuxiliaryDatabaseObject> getAuxiliaryDatabaseObjectList()- Specified by:
getAuxiliaryDatabaseObjectListin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getAttributeConverters
public Collection<org.hibernate.boot.model.convert.spi.ConverterDescriptor<?,?>> getAttributeConverters()- Specified by:
getAttributeConvertersin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getCacheRegionDefinitions
- Specified by:
getCacheRegionDefinitionsin interfaceorg.hibernate.boot.spi.BootstrapContext
-
getRepresentationStrategySelector
public org.hibernate.metamodel.spi.ManagedTypeRepresentationResolver getRepresentationStrategySelector()- Specified by:
getRepresentationStrategySelectorin interfaceorg.hibernate.boot.spi.BootstrapContext
-
registerAdHocBasicType
public void registerAdHocBasicType(org.hibernate.type.BasicType<?> basicType) - Specified by:
registerAdHocBasicTypein interfaceorg.hibernate.boot.spi.BootstrapContext
-
resolveAdHocBasicType
- Specified by:
resolveAdHocBasicTypein interfaceorg.hibernate.boot.spi.BootstrapContext
-
release
public void release()- Specified by:
releasein interfaceorg.hibernate.boot.spi.BootstrapContext
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-