public interface BootstrapContext
Modifier and Type | Method and Description |
---|---|
ArchiveDescriptorFactory |
getArchiveDescriptorFactory()
Access to the ArchiveDescriptorFactory to be used for scanning
|
Collection<AttributeConverterInfo> |
getAttributeConverters()
Access to collected AttributeConverter definitions.
|
Collection<AuxiliaryDatabaseObject> |
getAuxiliaryDatabaseObjectList()
Access to any AuxiliaryDatabaseObject explicitly registered with the MetadataBuilder.
|
Collection<CacheRegionDefinition> |
getCacheRegionDefinitions()
Access to all explicit cache region mappings.
|
ClassLoaderAccess |
getClassLoaderAccess() |
ClassmateContext |
getClassmateContext()
Access to the shared Classmate objects used throughout Hibernate's
bootstrap process.
|
org.jboss.jandex.IndexView |
getJandexView()
Access to the Jandex index passed by call to
MetadataBuilder.applyIndexView(org.jboss.jandex.IndexView) , if any. |
MutableJpaCompliance |
getJpaCompliance() |
ClassLoader |
getJpaTempClassLoader()
Access the temporary ClassLoader passed to us as defined by
PersistenceUnitInfo.getNewTempClassLoader() , if any. |
MetadataBuildingOptions |
getMetadataBuildingOptions() |
ReflectionManager |
getReflectionManager()
Deprecated.
Deprecated (with no replacement) to indicate that this will go away as
we migrate away from Hibernate Commons Annotations to Jandex for annotation handling
and XMl->annotation merging.
|
ScanEnvironment |
getScanEnvironment()
Access to the environment for scanning.
|
Object |
getScanner()
Access to the Scanner to be used for scanning.
|
ScanOptions |
getScanOptions()
Access to the options to be used for scanning
|
StandardServiceRegistry |
getServiceRegistry() |
Map<String,SQLFunction> |
getSqlFunctions()
Access to any SQL functions explicitly registered with the MetadataBuilder.
|
TypeConfiguration |
getTypeConfiguration() |
boolean |
isJpaBootstrap() |
void |
markAsJpaBootstrap()
Indicates that bootstrap was initiated from JPA bootstrapping.
|
void |
release()
Releases the "bootstrap only" resources held by this BootstrapContext.
|
StandardServiceRegistry getServiceRegistry()
MutableJpaCompliance getJpaCompliance()
TypeConfiguration getTypeConfiguration()
MetadataBuildingOptions getMetadataBuildingOptions()
boolean isJpaBootstrap()
void markAsJpaBootstrap()
false
is
the assumed value. We only need to call this to mark that as true.ClassLoader getJpaTempClassLoader()
PersistenceUnitInfo.getNewTempClassLoader()
, if any.ClassLoaderAccess getClassLoaderAccess()
ClassmateContext getClassmateContext()
ArchiveDescriptorFactory getArchiveDescriptorFactory()
ScanOptions getScanOptions()
ScanEnvironment getScanEnvironment()
ScanEnvironment
Object getScanner()
@Deprecated ReflectionManager getReflectionManager()
org.jboss.jandex.IndexView getJandexView()
MetadataBuilder.applyIndexView(org.jboss.jandex.IndexView)
, if any.
Note that Jandex is currently not used. See https://github.com/hibernate/hibernate-orm/wiki/Roadmap7.0Map<String,SQLFunction> getSqlFunctions()
null
Collection<AuxiliaryDatabaseObject> getAuxiliaryDatabaseObjectList()
null
Collection<AttributeConverterInfo> getAttributeConverters()
null
Collection<CacheRegionDefinition> getCacheRegionDefinitions()
null
void release()
Copyright © 2019 JBoss by Red Hat. All rights reserved.