类 ThreadLocalClassloaderBeanPostProcessor

  • 所有已实现的接口:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

    public class ThreadLocalClassloaderBeanPostProcessor
    extends java.lang.Object
    implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.PriorityOrdered
    After the BeanFactory is created, this post processor will evaluate to see if any of the beans referenced from a job definition (as defined by JSR-352) point to class names instead of bean names. If this is the case, a new BeanDefinition is added with the name of the class as the bean name.
    从以下版本开始:
    3.0
    作者:
    Michael Minella
    • 字段概要

      • 从接口继承的字段 org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      intgetOrder()
      Sets this BeanFactoryPostProcessor to the lowest precedence so that it is executed as late as possible in the chain of BeanFactoryPostProcessors
      voidpostProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) 
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • postProcessBeanFactory

        public void postProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                                    throws org.springframework.beans.BeansException
        指定者:
        postProcessBeanFactory 在接口中 org.springframework.beans.factory.config.BeanFactoryPostProcessor
        抛出:
        org.springframework.beans.BeansException
      • getOrder

        public int getOrder()
        Sets this BeanFactoryPostProcessor to the lowest precedence so that it is executed as late as possible in the chain of BeanFactoryPostProcessors
        指定者:
        getOrder 在接口中 org.springframework.core.Ordered