@Singleton public class PubSubMessageIdBinder extends java.lang.Object implements PubSubAnnotatedArgumentBinder<MessageId>
String
or else an exception is thrown.Constructor and Description |
---|
PubSubMessageIdBinder() |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.bind.ArgumentBinder.BindingResult<java.lang.Object> |
bind(io.micronaut.core.convert.ArgumentConversionContext<java.lang.Object> context,
PubSubConsumerState source) |
java.lang.Class<MessageId> |
getAnnotationType() |
public java.lang.Class<MessageId> getAnnotationType()
getAnnotationType
in interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<MessageId,java.lang.Object,PubSubConsumerState>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<java.lang.Object> bind(io.micronaut.core.convert.ArgumentConversionContext<java.lang.Object> context, PubSubConsumerState source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<java.lang.Object,PubSubConsumerState>