Class DefaultTopicBinder<T>

  • Type Parameters:
    T - The target generic type
    All Implemented Interfaces:
    ElementBinder<T>, io.micronaut.core.bind.ArgumentBinder<T,​com.tangosol.net.topic.Subscriber.Element<?>>

    public class DefaultTopicBinder<T>
    extends java.lang.Object
    implements ElementBinder<T>
    The default binder that binds the Kafka value for a Subscriber.Element.
    Since:
    1.0
    Author:
    Jonathan Knight
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder

        io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultTopicBinder()
      Default constructor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind​(io.micronaut.core.convert.ArgumentConversionContext<T> context, com.tangosol.net.topic.Subscriber.Element<?> element)  
      static <T> DefaultTopicBinder<T> instance()
      Returns the singleton DefaultTopicBinder instance.
      • Methods inherited from class java.lang.Object

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

      • DefaultTopicBinder

        public DefaultTopicBinder()
        Default constructor.
    • Method Detail

      • bind

        public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind​(io.micronaut.core.convert.ArgumentConversionContext<T> context,
                                                                           com.tangosol.net.topic.Subscriber.Element<?> element)
        Specified by:
        bind in interface io.micronaut.core.bind.ArgumentBinder<T,​com.tangosol.net.topic.Subscriber.Element<?>>