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
Constructors Constructor Description BeanDefiningAnnotationBuildItem(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.jandex.DotName
getDefaultScope()
org.jboss.jandex.DotName
getName()
boolean
isRemovable()
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-