Class ElementValueBinder<T>

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

    @Singleton
    public class ElementValueBinder<T>
    extends java.lang.Object
    implements AnnotatedElementBinder<io.micronaut.messaging.annotation.MessageBody,​T>
    The default binder that binds the value of an 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>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<io.micronaut.messaging.annotation.MessageBody> annotationType()  
      io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind​(io.micronaut.core.convert.ArgumentConversionContext<T> context, com.tangosol.net.topic.Subscriber.Element<?> element)  
      • Methods inherited from class java.lang.Object

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

      • ElementValueBinder

        public ElementValueBinder()
    • Method Detail

      • annotationType

        public java.lang.Class<io.micronaut.messaging.annotation.MessageBody> annotationType()
        Specified by:
        annotationType in interface AnnotatedElementBinder<io.micronaut.messaging.annotation.MessageBody,​T>
        Returns:
        The annotation type
      • 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<?>>