public class ClientPostProcessor extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
Modifier and Type | Field and Description |
---|---|
protected static String |
BEAN_NAME |
protected Class<? extends ClientFactory> |
externalTaskClientFactoryClass |
protected static ClientLoggerUtil |
LOG |
Constructor and Description |
---|
ClientPostProcessor() |
ClientPostProcessor(Class<? extends ClientFactory> externalTaskClientFactoryClass) |
Modifier and Type | Method and Description |
---|---|
protected EnableExternalTaskClient |
getAnnotation(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
String classBeanName) |
protected String |
getClassBeanName(org.springframework.beans.factory.ListableBeanFactory listableBeanFactory) |
protected String |
getClientBeanName(org.springframework.beans.factory.ListableBeanFactory listableBeanFactory) |
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
protected static final ClientLoggerUtil LOG
protected static final String BEAN_NAME
protected Class<? extends ClientFactory> externalTaskClientFactoryClass
public ClientPostProcessor()
public ClientPostProcessor(Class<? extends ClientFactory> externalTaskClientFactoryClass)
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
protected String getClassBeanName(org.springframework.beans.factory.ListableBeanFactory listableBeanFactory)
protected EnableExternalTaskClient getAnnotation(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String classBeanName)
protected String getClientBeanName(org.springframework.beans.factory.ListableBeanFactory listableBeanFactory)
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
Copyright © 2022. All rights reserved.