Class JpaJandexScavenger
- java.lang.Object
-
- io.quarkus.hibernate.orm.deployment.JpaJandexScavenger
-
public final class JpaJandexScavenger extends Object
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
-
-
Field Summary
Fields Modifier and Type Field Description static List<org.jboss.jandex.DotName>EMBEDDED_ANNOTATIONS
-
Constructor Summary
Constructors Constructor Description JpaJandexScavenger(BuildProducer<ReflectiveClassBuildItem> reflectiveClass, BuildProducer<HotDeploymentWatchedFileBuildItem> hotDeploymentWatchedFiles, List<JpaModelPersistenceUnitContributionBuildItem> persistenceUnitContributions, org.jboss.jandex.IndexView index, Set<String> ignorableNonIndexedClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JpaModelBuildItemdiscoverModelAndRegisterForReflection()
-
-
-
Field Detail
-
EMBEDDED_ANNOTATIONS
public static final List<org.jboss.jandex.DotName> EMBEDDED_ANNOTATIONS
-
-
Constructor Detail
-
JpaJandexScavenger
JpaJandexScavenger(BuildProducer<ReflectiveClassBuildItem> reflectiveClass, BuildProducer<HotDeploymentWatchedFileBuildItem> hotDeploymentWatchedFiles, List<JpaModelPersistenceUnitContributionBuildItem> persistenceUnitContributions, org.jboss.jandex.IndexView index, Set<String> ignorableNonIndexedClasses)
-
-
Method Detail
-
discoverModelAndRegisterForReflection
public JpaModelBuildItem discoverModelAndRegisterForReflection()
-
-