Class DefaultTopicBinder<T>

java.lang.Object
io.micronaut.coherence.messaging.binders.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 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 Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    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>
    Returns the singleton DefaultTopicBinder instance.

    Methods inherited from class java.lang.Object

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

    • DefaultTopicBinder

      public DefaultTopicBinder()
      Default constructor.
  • Method Details

    • 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<?>>
    • instance

      public static <T> DefaultTopicBinder<T> instance()
      Returns the singleton DefaultTopicBinder instance.
      Type Parameters:
      T - the argument type
      Returns:
      the singleton DefaultTopicBinder instance