ApiType
- type of Kubernetes Object@Requires(beans=io.kubernetes.client.informer.SharedInformerFactory.class) @InterceptorBean(value=Informer.class) @Internal public class ResourceEventHandlerConstructorInterceptor<ApiType extends io.kubernetes.client.common.KubernetesObject> extends java.lang.Object implements io.micronaut.aop.ConstructorInterceptor<io.kubernetes.client.informer.ResourceEventHandler<ApiType>>
ResourceEventHandler
beans annotated by Informer
annotation that
based on provided parameters in the Informer
annotation created the SharedIndexInformer
and registers
ResourceEventHandler
to the informer.Constructor and Description |
---|
ResourceEventHandlerConstructorInterceptor(SharedIndexInformerFactory sharedIndexInformerFactory,
NamespaceResolver namespaceResolver,
io.micronaut.context.ApplicationContext applicationContext,
DiscoveryCache discoveryCache) |
Modifier and Type | Method and Description |
---|---|
io.kubernetes.client.informer.ResourceEventHandler<ApiType> |
intercept(io.micronaut.aop.ConstructorInvocationContext<io.kubernetes.client.informer.ResourceEventHandler<ApiType>> context) |
public ResourceEventHandlerConstructorInterceptor(SharedIndexInformerFactory sharedIndexInformerFactory, NamespaceResolver namespaceResolver, io.micronaut.context.ApplicationContext applicationContext, @Nullable DiscoveryCache discoveryCache)
@NonNull public io.kubernetes.client.informer.ResourceEventHandler<ApiType> intercept(@NonNull io.micronaut.aop.ConstructorInvocationContext<io.kubernetes.client.informer.ResourceEventHandler<ApiType>> context)
intercept
in interface io.micronaut.aop.ConstructorInterceptor<io.kubernetes.client.informer.ResourceEventHandler<ApiType extends io.kubernetes.client.common.KubernetesObject>>