Class ElementValueBinder<T>

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<io.micronaut.messaging.annotation.MessageBody>
     
    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 Details

    • ElementValueBinder

      public ElementValueBinder()
  • Method Details

    • annotationType

      public 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<?>>