Class 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:
    GeneratedBeanBuildItem, CombinedIndexBuildItem
    • Constructor Detail

      • BeanArchiveIndexBuildItem

        public BeanArchiveIndexBuildItem​(org.jboss.jandex.IndexView index,
                                         org.jboss.jandex.IndexView immutableIndex,
                                         Set<org.jboss.jandex.DotName> generatedClassNames)
    • Method Detail

      • 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

        public Set<org.jboss.jandex.DotName> getGeneratedClassNames()
        Returns:
        the set of classes generated via GeneratedBeanBuildItem