Class PubSubClientIntroductionAdvice
java.lang.Object
io.micronaut.gcp.pubsub.intercept.PubSubClientIntroductionAdvice
- All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,
,Object> io.micronaut.aop.MethodInterceptor<Object,
,Object> io.micronaut.core.order.Ordered
,AutoCloseable
@Singleton
public class PubSubClientIntroductionAdvice
extends Object
implements io.micronaut.aop.MethodInterceptor<Object,Object>, AutoCloseable
Implementation of
PubSubClient
advice annotation.- Since:
- 2.0.0
- Author:
- Vinicius Carvalho
-
Field Summary
Fields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGET
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionPubSubClientIntroductionAdvice
(PublisherFactory publisherFactory, PubSubMessageSerDesRegistry serDesRegistry, ExecutorService executorService, io.micronaut.core.convert.ConversionService conversionService, GoogleCloudConfiguration googleCloudConfiguration, PubSubConfigurationProperties pubSubConfigurationProperties) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.aop.MethodInterceptor
intercept
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
PubSubClientIntroductionAdvice
public PubSubClientIntroductionAdvice(PublisherFactory publisherFactory, PubSubMessageSerDesRegistry serDesRegistry, @Named("io") ExecutorService executorService, io.micronaut.core.convert.ConversionService conversionService, GoogleCloudConfiguration googleCloudConfiguration, PubSubConfigurationProperties pubSubConfigurationProperties)
-
-
Method Details
-
intercept
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-