Package io.micronaut.gcp.pubsub.bind
Class PubSubAcknowledgementBinder
java.lang.Object
io.micronaut.gcp.pubsub.bind.PubSubAcknowledgementBinder
- All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<io.micronaut.messaging.Acknowledgement,
,PubSubConsumerState> io.micronaut.core.bind.TypeArgumentBinder<io.micronaut.messaging.Acknowledgement,
,PubSubConsumerState> PubSubArgumentBinder<io.micronaut.messaging.Acknowledgement>
,PubSubTypeArgumentBinder<io.micronaut.messaging.Acknowledgement>
@Singleton
public class PubSubAcknowledgementBinder
extends Object
implements PubSubTypeArgumentBinder<io.micronaut.messaging.Acknowledgement>
Binds
Acknowledgement
arguments.- Since:
- 2.0.0
- Author:
- Vinicius Carvalho
-
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.type.Argument<io.micronaut.messaging.Acknowledgement>
io.micronaut.core.bind.ArgumentBinder.BindingResult<io.micronaut.messaging.Acknowledgement>
bind
(io.micronaut.core.convert.ArgumentConversionContext<io.micronaut.messaging.Acknowledgement> context, PubSubConsumerState source)
-
Constructor Details
-
PubSubAcknowledgementBinder
public PubSubAcknowledgementBinder()
-
-
Method Details
-
argumentType
public io.micronaut.core.type.Argument<io.micronaut.messaging.Acknowledgement> argumentType()- Specified by:
argumentType
in interfaceio.micronaut.core.bind.TypeArgumentBinder<io.micronaut.messaging.Acknowledgement,
PubSubConsumerState>
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<io.micronaut.messaging.Acknowledgement> bind(io.micronaut.core.convert.ArgumentConversionContext<io.micronaut.messaging.Acknowledgement> context, PubSubConsumerState source) - Specified by:
bind
in interfaceio.micronaut.core.bind.ArgumentBinder<io.micronaut.messaging.Acknowledgement,
PubSubConsumerState>
-