@Singleton public class NatsConnectionBinder extends java.lang.Object implements NatsTypeArgumentBinder<io.nats.client.Connection>
Message
.Constructor and Description |
---|
NatsConnectionBinder() |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument<io.nats.client.Connection> |
argumentType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<io.nats.client.Connection> |
bind(io.micronaut.core.convert.ArgumentConversionContext<io.nats.client.Connection> context,
io.nats.client.Message source) |
public io.micronaut.core.type.Argument<io.nats.client.Connection> argumentType()
argumentType
in interface io.micronaut.core.bind.TypeArgumentBinder<io.nats.client.Connection,io.nats.client.Message>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<io.nats.client.Connection> bind(io.micronaut.core.convert.ArgumentConversionContext<io.nats.client.Connection> context, io.nats.client.Message source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<io.nats.client.Connection,io.nats.client.Message>