Class PubSubClientIntroductionAdvice
- java.lang.Object
 - 
- io.micronaut.gcp.pubsub.intercept.PubSubClientIntroductionAdvice
 
 
- 
- All Implemented Interfaces:
 io.micronaut.aop.Interceptor<java.lang.Object,java.lang.Object>,io.micronaut.aop.MethodInterceptor<java.lang.Object,java.lang.Object>,io.micronaut.core.order.Ordered,java.lang.AutoCloseable
@Singleton public class PubSubClientIntroductionAdvice extends java.lang.Object implements io.micronaut.aop.MethodInterceptor<java.lang.Object,java.lang.Object>, java.lang.AutoCloseableImplementation ofPubSubClientadvice annotation.- Since:
 - 2.0.0
 - Author:
 - Vinicius Carvalho
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PubSubClientIntroductionAdvice(PublisherFactory publisherFactory, PubSubMessageSerDesRegistry serDesRegistry, java.util.concurrent.ExecutorService executorService, io.micronaut.core.convert.ConversionService<?> conversionService, GoogleCloudConfiguration googleCloudConfiguration, PubSubConfigurationProperties pubSubConfigurationProperties) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.lang.Objectintercept(io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context) 
 - 
 
- 
- 
Constructor Detail
- 
PubSubClientIntroductionAdvice
public PubSubClientIntroductionAdvice(PublisherFactory publisherFactory, PubSubMessageSerDesRegistry serDesRegistry, @Named("io") java.util.concurrent.ExecutorService executorService, io.micronaut.core.convert.ConversionService<?> conversionService, GoogleCloudConfiguration googleCloudConfiguration, PubSubConfigurationProperties pubSubConfigurationProperties)
 
 - 
 
- 
Method Detail
- 
intercept
public java.lang.Object intercept(io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context)
- Specified by:
 interceptin interfaceio.micronaut.aop.MethodInterceptor<java.lang.Object,java.lang.Object>
 
- 
close
@PreDestroy public void close() throws java.lang.Exception- Specified by:
 closein interfacejava.lang.AutoCloseable- Throws:
 java.lang.Exception
 
 - 
 
 -