Class JetStreamIntroductionAdvice
java.lang.Object
io.micronaut.nats.intercept.AbstractIntroductionAdvice
io.micronaut.nats.jetstream.intercept.JetStreamIntroductionAdvice
- All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,Object>, io.micronaut.aop.MethodInterceptor<Object, Object>, io.micronaut.core.order.Ordered
@Singleton
@InterceptorBean(JetStreamClient.class)
public class JetStreamIntroductionAdvice
extends AbstractIntroductionAdvice
implements io.micronaut.aop.MethodInterceptor<Object,Object>
Implementation of the
JetStreamClient advice annotation.- Since:
- 1.0.0
- Author:
- jgrimm
-
Field Summary
Fields inherited from class AbstractIntroductionAdvice
beanContext, conversionService, scheduler, serDesRegistryFields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionJetStreamIntroductionAdvice(io.micronaut.context.BeanContext beanContext, io.micronaut.core.convert.ConversionService conversionService, NatsMessageSerDesRegistry serDesRegistry, ExecutorService executorService) Default constructor. -
Method Summary
Methods inherited from class AbstractIntroductionAdvice
buildNatsMessage, buildPublisherState, handleResultMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aop.MethodInterceptor
interceptMethods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
JetStreamIntroductionAdvice
public JetStreamIntroductionAdvice(io.micronaut.context.BeanContext beanContext, io.micronaut.core.convert.ConversionService conversionService, NatsMessageSerDesRegistry serDesRegistry, @Named("blocking") ExecutorService executorService) Default constructor.- Parameters:
beanContext- The bean contextconversionService- The conversion serviceserDesRegistry- The serialization/deserialization registryexecutorService- The executor to execute reactive operations on
-
-
Method Details
-
intercept
-