Package io.quarkus.arc.deployment
Class AutoAddScopeBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.arc.deployment.AutoAddScopeBuildItem
public final class AutoAddScopeBuildItem
extends io.quarkus.builder.item.MultiBuildItem
This build item can be used to turn a class that is not annotated with a CDI scope annotation into a bean, i.e. the default
scope annotation is added automatically if all conditions are met.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()org.jboss.jandex.DotNameintBiConsumer<org.jboss.jandex.DotName,String> booleanbooleanbooleantest(org.jboss.jandex.ClassInfo clazz, Collection<org.jboss.jandex.AnnotationInstance> annotations, org.jboss.jandex.IndexView index)
-
Method Details
-
builder
-
isContainerServicesRequired
public boolean isContainerServicesRequired() -
getDefaultScope
public org.jboss.jandex.DotName getDefaultScope() -
isUnremovable
public boolean isUnremovable() -
getReason
-
getPriority
public int getPriority() -
getScopeAlreadyAdded
-
test
public boolean test(org.jboss.jandex.ClassInfo clazz, Collection<org.jboss.jandex.AnnotationInstance> annotations, org.jboss.jandex.IndexView index)
-