@Internal
@Singleton
public class JMSArgumentBinderRegistry
extends java.lang.Object
implements io.micronaut.core.bind.ArgumentBinderRegistry<javax.jms.Message>
ArgumentBinderRegistry
for all implementations of
ArgumentBinder
capable of binding a Message
.DefaultHeaderArgumentBinder
,
DefaultBodyArgumentBinder
,
AbstractJMSListenerMethodProcessor
Constructor and Description |
---|
JMSArgumentBinderRegistry(io.micronaut.core.convert.ConversionService<?> conversionService,
Deserializer deserializer) |
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<io.micronaut.core.bind.ArgumentBinder<T,javax.jms.Message>> |
findArgumentBinder(io.micronaut.core.type.Argument<T> argument,
javax.jms.Message source) |
void |
registerArgumentBinder(io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<?,?,javax.jms.Message> binder)
Registers an
ArgumentBinder . |
java.lang.String |
toString() |
void |
unregisterArgumentBinder(io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<?,?,javax.jms.Message> binder)
Remove a registered binder.
|
public JMSArgumentBinderRegistry(io.micronaut.core.convert.ConversionService<?> conversionService, Deserializer deserializer)
public void registerArgumentBinder(io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<?,?,javax.jms.Message> binder)
ArgumentBinder
. Implement Ordered
to override the default binder for the parameter annotation type.binder
- the binderpublic void unregisterArgumentBinder(io.micronaut.core.bind.annotation.AbstractAnnotatedArgumentBinder<?,?,javax.jms.Message> binder)
binder
- the binder to removepublic <T> java.util.Optional<io.micronaut.core.bind.ArgumentBinder<T,javax.jms.Message>> findArgumentBinder(io.micronaut.core.type.Argument<T> argument, javax.jms.Message source)
findArgumentBinder
in interface io.micronaut.core.bind.ArgumentBinderRegistry<javax.jms.Message>
public java.lang.String toString()
toString
in class java.lang.Object