Class JpaJandexScavenger
java.lang.Object
io.quarkus.hibernate.orm.deployment.JpaJandexScavenger
Scan the Jandex index to find JPA entities (and embeddables supporting entity models).
The output is then both consumed as plain list to use as a filter for which classes need to be enhanced, collect them for storage in the JPADeploymentTemplate and registered for reflective access. TODO some of these are going to be redundant?
- Author:
- Emmanuel Bernard emmanuel@hibernate.org, Sanne Grinovero invalid input: '<'sanne@hibernate.org>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJpaJandexScavenger(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.HotDeploymentWatchedFileBuildItem> hotDeploymentWatchedFiles, List<JpaModelPersistenceUnitContributionBuildItem> persistenceUnitContributions, org.jboss.jandex.IndexView index, Set<String> ignorableNonIndexedClasses) -
Method Summary
-
Field Details
-
EMBEDDED_ANNOTATIONS
-
-
Constructor Details
-
JpaJandexScavenger
JpaJandexScavenger(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.HotDeploymentWatchedFileBuildItem> hotDeploymentWatchedFiles, List<JpaModelPersistenceUnitContributionBuildItem> persistenceUnitContributions, org.jboss.jandex.IndexView index, Set<String> ignorableNonIndexedClasses)
-
-
Method Details
-
discoverModelAndRegisterForReflection
public JpaModelBuildItem discoverModelAndRegisterForReflection() throws io.quarkus.builder.BuildException- Throws:
io.quarkus.builder.BuildException
-