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 Object implements io.micronaut.core.bind.ArgumentBinderRegistry<com.tangosol.net.topic.Subscriber.Element<?>>
A registry of ElementBinder instances.
Since:
1.0
Author:
Jonathan Knight
  • Constructor Details

    • ElementArgumentBinderRegistry

      public ElementArgumentBinderRegistry(ElementBinder<?>... binders)
      Creates the registry for the given binders.
      Parameters:
      binders - The binders
  • Method Details

    • findArgumentBinder

      public <T> Optional<io.micronaut.core.bind.ArgumentBinder<T,com.tangosol.net.topic.Subscriber.Element<?>>> findArgumentBinder(io.micronaut.core.type.Argument<T> argument)
      Specified by:
      findArgumentBinder in interface io.micronaut.core.bind.ArgumentBinderRegistry<com.tangosol.net.topic.Subscriber.Element<?>>