Class ElementArgumentBinderRegistry
- java.lang.Object
-
- io.micronaut.coherence.messaging.binders.ElementArgumentBinderRegistry
-
- All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinderRegistry<com.tangosol.net.topic.Subscriber.Element<?>>
@Singleton public class ElementArgumentBinderRegistry extends java.lang.Object implements io.micronaut.core.bind.ArgumentBinderRegistry<com.tangosol.net.topic.Subscriber.Element<?>>
An registry ofElementBinder
instances.- Since:
- 1.0
- Author:
- Jonathan Knight
-
-
Constructor Summary
Constructors Constructor Description ElementArgumentBinderRegistry(ElementBinder<?>... binders)
Creates the registry for the given binders.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.Optional<io.micronaut.core.bind.ArgumentBinder<T,com.tangosol.net.topic.Subscriber.Element<?>>>
findArgumentBinder(io.micronaut.core.type.Argument<T> argument, com.tangosol.net.topic.Subscriber.Element<?> source)
-
-
-
Constructor Detail
-
ElementArgumentBinderRegistry
public ElementArgumentBinderRegistry(ElementBinder<?>... binders)
Creates the registry for the given binders.- Parameters:
binders
- The binders
-
-
Method Detail
-
findArgumentBinder
public <T> java.util.Optional<io.micronaut.core.bind.ArgumentBinder<T,com.tangosol.net.topic.Subscriber.Element<?>>> findArgumentBinder(io.micronaut.core.type.Argument<T> argument, com.tangosol.net.topic.Subscriber.Element<?> source)
- Specified by:
findArgumentBinder
in interfaceio.micronaut.core.bind.ArgumentBinderRegistry<com.tangosol.net.topic.Subscriber.Element<?>>
-
-