Package io.micronaut.rabbitmq.bind
Class RabbitChannelBinder
java.lang.Object
io.micronaut.rabbitmq.bind.RabbitChannelBinder
- All Implemented Interfaces:
 io.micronaut.core.bind.ArgumentBinder<com.rabbitmq.client.Channel,,RabbitConsumerState> io.micronaut.core.bind.TypeArgumentBinder<com.rabbitmq.client.Channel,,RabbitConsumerState> RabbitArgumentBinder<com.rabbitmq.client.Channel>,RabbitTypeArgumentBinder<com.rabbitmq.client.Channel>
@Singleton
public class RabbitChannelBinder
extends Object
implements RabbitTypeArgumentBinder<com.rabbitmq.client.Channel>
Binds an argument of type 
Channel 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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.type.Argument<com.rabbitmq.client.Channel>io.micronaut.core.bind.ArgumentBinder.BindingResult<com.rabbitmq.client.Channel>bind(io.micronaut.core.convert.ArgumentConversionContext<com.rabbitmq.client.Channel> context, RabbitConsumerState messageState) Methods 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
- 
RabbitChannelBinder
public RabbitChannelBinder() 
 - 
 - 
Method Details
- 
argumentType
public io.micronaut.core.type.Argument<com.rabbitmq.client.Channel> argumentType()- Specified by:
 argumentTypein interfaceio.micronaut.core.bind.TypeArgumentBinder<com.rabbitmq.client.Channel,RabbitConsumerState> 
 - 
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<com.rabbitmq.client.Channel> bind(io.micronaut.core.convert.ArgumentConversionContext<com.rabbitmq.client.Channel> context, RabbitConsumerState messageState) - Specified by:
 bindin interfaceio.micronaut.core.bind.ArgumentBinder<com.rabbitmq.client.Channel,RabbitConsumerState> 
 
 -