public final class HibernateOrmProcessor extends Object
This does not address the proper integration with Hibernate Rather prepare the path to providing the right metadata
Modifier and Type | Field and Description |
---|---|
(package private) HibernateOrmConfig |
hibernateConfig
Hibernate ORM configuration
|
Constructor and Description |
---|
HibernateOrmProcessor() |
HibernateOrmConfig hibernateConfig
HotDeploymentConfigFileBuildItem configFile()
void doParseAndRegisterSubstrateResources(BuildProducer<PersistenceUnitDescriptorBuildItem> persistenceProducer, BuildProducer<SubstrateResourceBuildItem> resourceProducer, BuildProducer<HotDeploymentConfigFileBuildItem> hotDeploymentProducer, BuildProducer<SystemPropertyBuildItem> systemPropertyProducer, ArchiveRootBuildItem root, ApplicationArchivesBuildItem applicationArchivesBuildItem, Optional<DataSourceDriverBuildItem> driverBuildItem) throws IOException
IOException
public void build(RecorderContext recorder, HibernateOrmTemplate template, List<PersistenceUnitDescriptorBuildItem> descItems, List<AdditionalJpaModelBuildItem> additionalJpaModelBuildItems, List<NonJpaModelBuildItem> nonJpaModelBuildItems, CombinedIndexBuildItem index, ApplicationIndexBuildItem applicationIndex, BuildProducer<ReflectiveClassBuildItem> reflectiveClass, BuildProducer<FeatureBuildItem> feature, BuildProducer<JpaEntitiesBuildItem> domainObjectsProducer, BuildProducer<BeanContainerListenerBuildItem> beanContainerListener) throws Exception
Exception
void handleNativeImageImportSql(BuildProducer<SubstrateResourceBuildItem> resources, List<PersistenceUnitDescriptorBuildItem> descriptors, JpaEntitiesBuildItem jpaEntities, List<NonJpaModelBuildItem> nonJpaModels)
void setupResourceInjection(BuildProducer<ResourceAnnotationBuildItem> resourceAnnotations, BuildProducer<GeneratedResourceBuildItem> resources, JpaEntitiesBuildItem jpaEntities, List<NonJpaModelBuildItem> nonJpaModels)
void registerBeans(BuildProducer<AdditionalBeanBuildItem> additionalBeans, CombinedIndexBuildItem combinedIndex, List<PersistenceUnitDescriptorBuildItem> descriptors, JpaEntitiesBuildItem jpaEntities, List<NonJpaModelBuildItem> nonJpaModels)
public HibernateEnhancersRegisteredBuildItem enhancerDomainObjects(JpaEntitiesBuildItem domainObjects, BuildProducer<BytecodeTransformerBuildItem> transformers, List<AdditionalJpaModelBuildItem> additionalJpaModelBuildItems, BuildProducer<GeneratedClassBuildItem> additionalClasses)
public void build(HibernateOrmTemplate template, Capabilities capabilities, BuildProducer<BeanContainerListenerBuildItem> buildProducer, List<PersistenceUnitDescriptorBuildItem> descriptors, JpaEntitiesBuildItem jpaEntities, List<NonJpaModelBuildItem> nonJpaModels) throws Exception
Exception
public void startPersistenceUnits(HibernateOrmTemplate template, BeanContainerBuildItem beanContainer, Optional<DataSourceInitializedBuildItem> dataSourceInitialized, JpaEntitiesBuildItem jpaEntities, List<NonJpaModelBuildItem> nonJpaModels) throws Exception
Exception
Copyright © 2019 JBoss by Red Hat. All rights reserved.