Package io.quarkus.arc.deployment
Class BeanArchiveIndexBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.arc.deployment.BeanArchiveIndexBuildItem
public final class BeanArchiveIndexBuildItem
extends io.quarkus.builder.item.SimpleBuildItem
Represent a Jandex
IndexView on the whole deployment that has a complete CDI-related information.
As such, this index should be used for any CDI-oriented work.
Compared to CombinedIndexBuildItem this index can contain additional classes
that were indexed while bean discovery was in progress.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBeanArchiveIndexBuildItem(org.jboss.jandex.IndexView index, org.jboss.jandex.IndexView immutableIndex, Set<org.jboss.jandex.DotName> generatedClassNames) -
Method Summary
-
Constructor Details
-
BeanArchiveIndexBuildItem
public BeanArchiveIndexBuildItem(org.jboss.jandex.IndexView index, org.jboss.jandex.IndexView immutableIndex, Set<org.jboss.jandex.DotName> generatedClassNames)
-
-
Method Details
-
getIndex
public org.jboss.jandex.IndexView getIndex()This index is built on top of the immutable index.- Returns:
- the computing index that can also index classes on demand
-
getImmutableIndex
public org.jboss.jandex.IndexView getImmutableIndex()- Returns:
- an immutable index that represents the bean archive
-
getGeneratedClassNames
- Returns:
- the set of classes generated via
GeneratedBeanBuildItem
-