Package io.quarkus.arc.deployment
Class BeanDefiningAnnotationBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.arc.deployment.BeanDefiningAnnotationBuildItem
public final class BeanDefiningAnnotationBuildItem
extends io.quarkus.builder.item.MultiBuildItem
This build item is used to specify additional bean defining annotations. See also
2.5.1. Bean defining annotations.
By default, the resulting beans must not be removed even if they are considered unused and
ArcConfig.removeUnusedBeans() is enabled.
-
Constructor Summary
ConstructorsConstructorDescriptionBeanDefiningAnnotationBuildItem(org.jboss.jandex.DotName name) BeanDefiningAnnotationBuildItem(org.jboss.jandex.DotName name, org.jboss.jandex.DotName defaultScope) BeanDefiningAnnotationBuildItem(org.jboss.jandex.DotName name, org.jboss.jandex.DotName defaultScope, boolean removable) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.jandex.DotNameorg.jboss.jandex.DotNamegetName()boolean
-
Constructor Details
-
BeanDefiningAnnotationBuildItem
public BeanDefiningAnnotationBuildItem(org.jboss.jandex.DotName name) -
BeanDefiningAnnotationBuildItem
public BeanDefiningAnnotationBuildItem(org.jboss.jandex.DotName name, org.jboss.jandex.DotName defaultScope) -
BeanDefiningAnnotationBuildItem
public BeanDefiningAnnotationBuildItem(org.jboss.jandex.DotName name, org.jboss.jandex.DotName defaultScope, boolean removable)
-
-
Method Details
-
getName
public org.jboss.jandex.DotName getName() -
getDefaultScope
public org.jboss.jandex.DotName getDefaultScope() -
isRemovable
public boolean isRemovable()- Returns:
- true if the resulting beans should be removed if they're considered unused as described in
ArcConfig.removeUnusedBeans()
-