Interface ExecutionModelAnnotationsConfig
-
@ConfigRoot(phase=BUILD_TIME) @ConfigMapping(prefix="quarkus.execution-model-annotations") public interface ExecutionModelAnnotationsConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ExecutionModelAnnotationsConfig.Mode
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionModelAnnotationsConfig.Mode
detectionMode()
Detection mode of invalid usage of execution model annotations.
-
-
-
Method Detail
-
detectionMode
@WithDefault("fail") ExecutionModelAnnotationsConfig.Mode detectionMode()
Detection mode of invalid usage of execution model annotations.An execution model annotation is
@Blocking
,@NonBlocking
and@RunOnVirtualThread
. These annotations may only be used on "entrypoint" methods (methods invoked by various frameworks in Quarkus); using them on methods that can only be invoked by application code is invalid.
-
-