@Component public class KubernetesInformerFactoryProcessor extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.core.Ordered
1. By-pass further processing if there's no SharedInformerFactory registered. 2. Instansiate a
new ApiClient if there's no user-specified one for override. 3. By reading from KubernetesInformers
, instantiates and
injects informers to spring context with the underlying constructing process hidden from users.
Modifier and Type | Field and Description |
---|---|
static int |
ORDER |
Constructor and Description |
---|
KubernetesInformerFactoryProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
public static final int ORDER
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) throws org.springframework.beans.BeansException
postProcessBeanDefinitionRegistry
in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
org.springframework.beans.BeansException
Copyright © 2020. All rights reserved.