@Singleton
public class NatsIntroductionAdvice
extends java.lang.Object
implements io.micronaut.aop.MethodInterceptor<java.lang.Object,java.lang.Object>
NatsClient
advice annotation.Constructor and Description |
---|
NatsIntroductionAdvice(io.micronaut.context.BeanContext beanContext,
io.micronaut.core.convert.ConversionService<?> conversionService,
NatsMessageSerDesRegistry serDesRegistry,
java.util.concurrent.ExecutorService executorService)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
intercept(io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context) |
public NatsIntroductionAdvice(io.micronaut.context.BeanContext beanContext, io.micronaut.core.convert.ConversionService<?> conversionService, NatsMessageSerDesRegistry serDesRegistry, @Named(value="consumer") java.util.concurrent.ExecutorService executorService)
beanContext
- The bean contextconversionService
- The conversion serviceserDesRegistry
- The serialization/deserialization registryexecutorService
- The executor to execute reactive operations on