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 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 interface org.hibernate.boot.spi.BootstrapContext
    • getJpaCompliance

      public org.hibernate.jpa.spi.MutableJpaCompliance getJpaCompliance()
      Specified by:
      getJpaCompliance in interface org.hibernate.boot.spi.BootstrapContext
    • getTypeConfiguration

      public org.hibernate.type.spi.TypeConfiguration getTypeConfiguration()
      Specified by:
      getTypeConfiguration in interface org.hibernate.boot.spi.BootstrapContext
    • getModelsContext

      public org.hibernate.models.spi.ModelsContext getModelsContext()
      Specified by:
      getModelsContext in interface org.hibernate.boot.spi.BootstrapContext
    • getFunctionRegistry

      public org.hibernate.query.sqm.function.SqmFunctionRegistry getFunctionRegistry()
      Specified by:
      getFunctionRegistry in interface org.hibernate.boot.spi.BootstrapContext
    • getCustomTypeProducer

      public org.hibernate.resource.beans.spi.BeanInstanceProducer getCustomTypeProducer()
      Specified by:
      getCustomTypeProducer in interface org.hibernate.boot.spi.BootstrapContext
    • getMetadataBuildingOptions

      public org.hibernate.boot.spi.MetadataBuildingOptions getMetadataBuildingOptions()
      Specified by:
      getMetadataBuildingOptions in interface org.hibernate.boot.spi.BootstrapContext
    • getClassLoaderService

      public org.hibernate.boot.registry.classloading.spi.ClassLoaderService getClassLoaderService()
      Specified by:
      getClassLoaderService in interface org.hibernate.boot.spi.BootstrapContext
    • getManagedBeanRegistry

      public org.hibernate.resource.beans.spi.ManagedBeanRegistry getManagedBeanRegistry()
      Specified by:
      getManagedBeanRegistry in interface org.hibernate.boot.spi.BootstrapContext
    • getConfigurationService

      public org.hibernate.engine.config.spi.ConfigurationService getConfigurationService()
      Specified by:
      getConfigurationService in interface org.hibernate.boot.spi.BootstrapContext
    • isJpaBootstrap

      public boolean isJpaBootstrap()
      Specified by:
      isJpaBootstrap in interface org.hibernate.boot.spi.BootstrapContext
    • markAsJpaBootstrap

      public void markAsJpaBootstrap()
      Specified by:
      markAsJpaBootstrap in interface org.hibernate.boot.spi.BootstrapContext
    • getJpaTempClassLoader

      public ClassLoader getJpaTempClassLoader()
      Specified by:
      getJpaTempClassLoader in interface org.hibernate.boot.spi.BootstrapContext
    • getClassLoaderAccess

      public org.hibernate.boot.spi.ClassLoaderAccess getClassLoaderAccess()
      Specified by:
      getClassLoaderAccess in interface org.hibernate.boot.spi.BootstrapContext
    • getClassmateContext

      public org.hibernate.boot.spi.ClassmateContext getClassmateContext()
      Specified by:
      getClassmateContext in interface org.hibernate.boot.spi.BootstrapContext
    • getArchiveDescriptorFactory

      public org.hibernate.boot.archive.spi.ArchiveDescriptorFactory getArchiveDescriptorFactory()
      Specified by:
      getArchiveDescriptorFactory in interface org.hibernate.boot.spi.BootstrapContext
    • getScanOptions

      public org.hibernate.boot.archive.scan.spi.ScanOptions getScanOptions()
      Specified by:
      getScanOptions in interface org.hibernate.boot.spi.BootstrapContext
    • getScanEnvironment

      public org.hibernate.boot.archive.scan.spi.ScanEnvironment getScanEnvironment()
      Specified by:
      getScanEnvironment in interface org.hibernate.boot.spi.BootstrapContext
    • getScanner

      public Object getScanner()
      Specified by:
      getScanner in interface org.hibernate.boot.spi.BootstrapContext
    • getJandexView

      public Object getJandexView()
      Specified by:
      getJandexView in interface org.hibernate.boot.spi.BootstrapContext
    • getSqlFunctions

      public Map<String,org.hibernate.query.sqm.function.SqmFunctionDescriptor> getSqlFunctions()
      Specified by:
      getSqlFunctions in interface org.hibernate.boot.spi.BootstrapContext
    • getAuxiliaryDatabaseObjectList

      public Collection<org.hibernate.boot.model.relational.AuxiliaryDatabaseObject> getAuxiliaryDatabaseObjectList()
      Specified by:
      getAuxiliaryDatabaseObjectList in interface org.hibernate.boot.spi.BootstrapContext
    • getAttributeConverters

      public Collection<org.hibernate.boot.model.convert.spi.ConverterDescriptor<?,?>> getAttributeConverters()
      Specified by:
      getAttributeConverters in interface org.hibernate.boot.spi.BootstrapContext
    • getCacheRegionDefinitions

      public Collection<org.hibernate.boot.CacheRegionDefinition> getCacheRegionDefinitions()
      Specified by:
      getCacheRegionDefinitions in interface org.hibernate.boot.spi.BootstrapContext
    • getRepresentationStrategySelector

      public org.hibernate.metamodel.spi.ManagedTypeRepresentationResolver getRepresentationStrategySelector()
      Specified by:
      getRepresentationStrategySelector in interface org.hibernate.boot.spi.BootstrapContext
    • registerAdHocBasicType

      public void registerAdHocBasicType(org.hibernate.type.BasicType<?> basicType)
      Specified by:
      registerAdHocBasicType in interface org.hibernate.boot.spi.BootstrapContext
    • resolveAdHocBasicType

      public <T> org.hibernate.type.BasicType<T> resolveAdHocBasicType(String key)
      Specified by:
      resolveAdHocBasicType in interface org.hibernate.boot.spi.BootstrapContext
    • release

      public void release()
      Specified by:
      release in interface org.hibernate.boot.spi.BootstrapContext
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable