Class NatsIntroductionAdvice

java.lang.Object
io.micronaut.nats.intercept.AbstractIntroductionAdvice
io.micronaut.nats.intercept.NatsIntroductionAdvice
All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,Object>, io.micronaut.aop.MethodInterceptor<Object,Object>, io.micronaut.core.order.Ordered

@Singleton @InterceptorBean(NatsClient.class) public class NatsIntroductionAdvice extends AbstractIntroductionAdvice implements io.micronaut.aop.MethodInterceptor<Object,Object>
Implementation of the NatsClient advice annotation.
Since:
1.0.0
Author:
jgrimm
  • Constructor Details

    • NatsIntroductionAdvice

      public NatsIntroductionAdvice(io.micronaut.context.BeanContext beanContext, io.micronaut.core.convert.ConversionService conversionService, NatsMessageSerDesRegistry serDesRegistry, @Named("blocking") ExecutorService executorService)
      Default constructor.
      Parameters:
      beanContext - The bean context
      conversionService - The conversion service
      serDesRegistry - The serialization/deserialization registry
      executorService - The executor to execute reactive operations on
  • Method Details

    • intercept

      public Object intercept(io.micronaut.aop.MethodInvocationContext<Object,Object> context)
      Specified by:
      intercept in interface io.micronaut.aop.MethodInterceptor<Object,Object>