Package io.micronaut.rabbitmq.bind
Class RabbitPropertyBinder
java.lang.Object
io.micronaut.rabbitmq.bind.RabbitPropertyBinder
- All Implemented Interfaces:
 io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<RabbitProperty,,Object, RabbitConsumerState> io.micronaut.core.bind.ArgumentBinder<Object,,RabbitConsumerState> RabbitAnnotatedArgumentBinder<RabbitProperty>,RabbitArgumentBinder<Object>
@Singleton
public class RabbitPropertyBinder
extends Object
implements RabbitAnnotatedArgumentBinder<RabbitProperty>
Binds an argument of with the 
RabbitProperty annotation from the RabbitConsumerState.- Since:
 - 1.1.0
 - Author:
 - James Kleeh
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object> - 
Constructor Summary
ConstructorsConstructorDescriptionRabbitPropertyBinder(io.micronaut.core.convert.ConversionService conversionService) Default constructor. - 
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.bind.ArgumentBinder.BindingResult<Object>bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, RabbitConsumerState messageState) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.bind.ArgumentBinder
createSpecific 
- 
Constructor Details
- 
RabbitPropertyBinder
public RabbitPropertyBinder(io.micronaut.core.convert.ConversionService conversionService) Default constructor.- Parameters:
 conversionService- The conversion service to convert the body
 
 - 
 - 
Method Details
- 
getAnnotationType
- Specified by:
 getAnnotationTypein interfaceio.micronaut.core.bind.annotation.AnnotatedArgumentBinder<RabbitProperty,Object, RabbitConsumerState> 
 - 
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<Object> bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, RabbitConsumerState messageState) - Specified by:
 bindin interfaceio.micronaut.core.bind.ArgumentBinder<Object,RabbitConsumerState> 
 - 
supports
- Parameters:
 context- The argument context- Returns:
 - True if this binder can bind the argument
 
 
 -