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 java.lang.Object implements AnnotatedElementBinder<io.micronaut.messaging.annotation.MessageBody,T>
The default binder that binds the value of anelement
.- Since:
- 1.0
- Author:
- Jonathan Knight
-
-
Constructor Summary
Constructors Constructor Description ElementValueBinder()
-
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)
-
-
-
Method Detail
-
annotationType
public java.lang.Class<io.micronaut.messaging.annotation.MessageBody> annotationType()
- Specified by:
annotationType
in interfaceAnnotatedElementBinder<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 interfaceio.micronaut.core.bind.ArgumentBinder<T,com.tangosol.net.topic.Subscriber.Element<?>>
-
-