Class ClientPostProcessor

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor

    public class ClientPostProcessor
    extends java.lang.Object
    implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
    • Field Detail

      • externalTaskClientFactoryClass

        protected java.lang.Class<? extends ClientFactory> externalTaskClientFactoryClass
    • Constructor Detail

      • ClientPostProcessor

        public ClientPostProcessor()
      • ClientPostProcessor

        public ClientPostProcessor​(java.lang.Class<? extends ClientFactory> externalTaskClientFactoryClass)
    • Method Detail

      • postProcessBeanDefinitionRegistry

        public void postProcessBeanDefinitionRegistry​(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
                                               throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeanDefinitionRegistry in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • getClassBeanName

        protected java.lang.String getClassBeanName​(org.springframework.beans.factory.ListableBeanFactory listableBeanFactory)
      • getAnnotation

        protected EnableExternalTaskClient getAnnotation​(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
                                                         java.lang.String classBeanName)
      • getClientBeanName

        protected java.lang.String getClientBeanName​(org.springframework.beans.factory.ListableBeanFactory listableBeanFactory)
      • postProcessBeanFactory

        public void postProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                                    throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
        Throws:
        org.springframework.beans.BeansException