Package io.quarkus.vertx.deployment
Class EventConsumerBusinessMethodItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.vertx.deployment.EventConsumerBusinessMethodItem
public final class EventConsumerBusinessMethodItem
extends io.quarkus.builder.item.MultiBuildItem
-
Constructor Summary
ConstructorsConstructorDescriptionEventConsumerBusinessMethodItem(io.quarkus.arc.processor.BeanInfo bean, org.jboss.jandex.AnnotationInstance consumeEvent, boolean blockingAnnotation, boolean runOnVirtualThreadAnnotation, boolean splitHeadersBodyParams, io.quarkus.arc.processor.InvokerInfo invoker) -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.arc.processor.BeanInfogetBean()Returns the bean that declares this event consumer method.org.jboss.jandex.AnnotationInstanceReturns theConsumeEventannotation declared on this event consumer method.io.quarkus.arc.processor.InvokerInfoReturns the invoker for this event consumer method.booleanReturns whether this event consumer method declares theBlockingannotation.booleanReturns whether this event consumer method declares theRunOnVirtualThreadannotation.booleanReturns whether this event consumer method declares 2 parameters, where the first is the event headers and the second is the event body.
-
Constructor Details
-
EventConsumerBusinessMethodItem
public EventConsumerBusinessMethodItem(io.quarkus.arc.processor.BeanInfo bean, org.jboss.jandex.AnnotationInstance consumeEvent, boolean blockingAnnotation, boolean runOnVirtualThreadAnnotation, boolean splitHeadersBodyParams, io.quarkus.arc.processor.InvokerInfo invoker)
-
-
Method Details
-
getBean
public io.quarkus.arc.processor.BeanInfo getBean()Returns the bean that declares this event consumer method. -
getConsumeEvent
public org.jboss.jandex.AnnotationInstance getConsumeEvent()Returns theConsumeEventannotation declared on this event consumer method. -
isBlockingAnnotation
public boolean isBlockingAnnotation()Returns whether this event consumer method declares theBlockingannotation. -
isRunOnVirtualThreadAnnotation
public boolean isRunOnVirtualThreadAnnotation()Returns whether this event consumer method declares theRunOnVirtualThreadannotation. -
isSplitHeadersBodyParams
public boolean isSplitHeadersBodyParams()Returns whether this event consumer method declares 2 parameters, where the first is the event headers and the second is the event body. In this case, theEventConsumerInvokerhas to split the headers and body parameters explicitly. -
getInvoker
public io.quarkus.arc.processor.InvokerInfo getInvoker()Returns the invoker for this event consumer method.
-