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 TypeMethodDescriptionvoid
close()
org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
Collection
<org.hibernate.boot.model.convert.spi.ConverterDescriptor<?, ?>> Collection
<org.hibernate.boot.model.relational.AuxiliaryDatabaseObject> Collection
<org.hibernate.boot.CacheRegionDefinition> org.hibernate.boot.spi.ClassLoaderAccess
org.hibernate.boot.registry.classloading.spi.ClassLoaderService
org.hibernate.boot.spi.ClassmateContext
org.hibernate.engine.config.spi.ConfigurationService
org.hibernate.resource.beans.spi.BeanInstanceProducer
org.hibernate.query.sqm.function.SqmFunctionRegistry
org.hibernate.jpa.spi.MutableJpaCompliance
org.hibernate.resource.beans.spi.ManagedBeanRegistry
org.hibernate.boot.spi.MetadataBuildingOptions
org.hibernate.models.spi.ModelsContext
org.hibernate.metamodel.spi.ManagedTypeRepresentationResolver
org.hibernate.boot.archive.scan.spi.ScanEnvironment
org.hibernate.boot.archive.scan.spi.ScanOptions
org.hibernate.boot.registry.StandardServiceRegistry
org.hibernate.type.spi.TypeConfiguration
boolean
void
void
registerAdHocBasicType
(org.hibernate.type.BasicType<?> basicType) void
release()
<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:
getServiceRegistry
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getJpaCompliance
public org.hibernate.jpa.spi.MutableJpaCompliance getJpaCompliance()- Specified by:
getJpaCompliance
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getTypeConfiguration
public org.hibernate.type.spi.TypeConfiguration getTypeConfiguration()- Specified by:
getTypeConfiguration
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getModelsContext
public org.hibernate.models.spi.ModelsContext getModelsContext()- Specified by:
getModelsContext
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getFunctionRegistry
public org.hibernate.query.sqm.function.SqmFunctionRegistry getFunctionRegistry()- Specified by:
getFunctionRegistry
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getCustomTypeProducer
public org.hibernate.resource.beans.spi.BeanInstanceProducer getCustomTypeProducer()- Specified by:
getCustomTypeProducer
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getMetadataBuildingOptions
public org.hibernate.boot.spi.MetadataBuildingOptions getMetadataBuildingOptions()- Specified by:
getMetadataBuildingOptions
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getClassLoaderService
public org.hibernate.boot.registry.classloading.spi.ClassLoaderService getClassLoaderService()- Specified by:
getClassLoaderService
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getManagedBeanRegistry
public org.hibernate.resource.beans.spi.ManagedBeanRegistry getManagedBeanRegistry()- Specified by:
getManagedBeanRegistry
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getConfigurationService
public org.hibernate.engine.config.spi.ConfigurationService getConfigurationService()- Specified by:
getConfigurationService
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
isJpaBootstrap
public boolean isJpaBootstrap()- Specified by:
isJpaBootstrap
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
markAsJpaBootstrap
public void markAsJpaBootstrap()- Specified by:
markAsJpaBootstrap
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getJpaTempClassLoader
- Specified by:
getJpaTempClassLoader
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getClassLoaderAccess
public org.hibernate.boot.spi.ClassLoaderAccess getClassLoaderAccess()- Specified by:
getClassLoaderAccess
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getClassmateContext
public org.hibernate.boot.spi.ClassmateContext getClassmateContext()- Specified by:
getClassmateContext
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getArchiveDescriptorFactory
public org.hibernate.boot.archive.spi.ArchiveDescriptorFactory getArchiveDescriptorFactory()- Specified by:
getArchiveDescriptorFactory
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getScanOptions
public org.hibernate.boot.archive.scan.spi.ScanOptions getScanOptions()- Specified by:
getScanOptions
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getScanEnvironment
public org.hibernate.boot.archive.scan.spi.ScanEnvironment getScanEnvironment()- Specified by:
getScanEnvironment
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getScanner
- Specified by:
getScanner
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getJandexView
- Specified by:
getJandexView
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getSqlFunctions
- Specified by:
getSqlFunctions
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getAuxiliaryDatabaseObjectList
public Collection<org.hibernate.boot.model.relational.AuxiliaryDatabaseObject> getAuxiliaryDatabaseObjectList()- Specified by:
getAuxiliaryDatabaseObjectList
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getAttributeConverters
public Collection<org.hibernate.boot.model.convert.spi.ConverterDescriptor<?,?>> getAttributeConverters()- Specified by:
getAttributeConverters
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getCacheRegionDefinitions
- Specified by:
getCacheRegionDefinitions
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
getRepresentationStrategySelector
public org.hibernate.metamodel.spi.ManagedTypeRepresentationResolver getRepresentationStrategySelector()- Specified by:
getRepresentationStrategySelector
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
registerAdHocBasicType
public void registerAdHocBasicType(org.hibernate.type.BasicType<?> basicType) - Specified by:
registerAdHocBasicType
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
resolveAdHocBasicType
- Specified by:
resolveAdHocBasicType
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
release
public void release()- Specified by:
release
in interfaceorg.hibernate.boot.spi.BootstrapContext
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-