Class AcknowledgementBinder<T extends io.micronaut.messaging.Acknowledgement>

java.lang.Object
io.micronaut.rabbitmq.bind.AcknowledgementBinder<T>
Type Parameters:
T - Any type that extends Acknowledgement
All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<T,RabbitConsumerState>, io.micronaut.core.bind.TypeArgumentBinder<T,RabbitConsumerState>, RabbitArgumentBinder<T>, RabbitTypeArgumentBinder<T>
Direct Known Subclasses:
RabbitAcknowledgementBinder

@Singleton public class AcknowledgementBinder<T extends io.micronaut.messaging.Acknowledgement> extends Object implements RabbitTypeArgumentBinder<T>
Binds an argument of type Acknowledgement 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.type.Argument<T>
     
    io.micronaut.core.bind.ArgumentBinder.BindingResult<T>
    bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, RabbitConsumerState source)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AcknowledgementBinder

      public AcknowledgementBinder()
  • Method Details

    • argumentType

      public io.micronaut.core.type.Argument<T> argumentType()
      Specified by:
      argumentType in interface io.micronaut.core.bind.TypeArgumentBinder<T extends io.micronaut.messaging.Acknowledgement,RabbitConsumerState>
    • bind

      public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, RabbitConsumerState source)
      Specified by:
      bind in interface io.micronaut.core.bind.ArgumentBinder<T extends io.micronaut.messaging.Acknowledgement,RabbitConsumerState>