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
-
Method Summary
-
Constructor Details
-
ElementValueBinder
public ElementValueBinder()
-
-
Method Details
-
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<?>>
-