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<?>>
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
-
Method Summary
Modifier and TypeMethodDescriptionio.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>
instance()
Returns the singletonDefaultTopicBinder
instance.
-
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 interfaceio.micronaut.core.bind.ArgumentBinder<T,
com.tangosol.net.topic.Subscriber.Element<?>>
-
instance
Returns the singletonDefaultTopicBinder
instance.- Type Parameters:
T
- the argument type- Returns:
- the singleton
DefaultTopicBinder
instance
-