类 ThreadLocalClassloaderBeanPostProcessor
- java.lang.Object
- org.springframework.batch.core.jsr.configuration.support.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 theBeanFactory
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 newBeanDefinition
is added with the name of the class as the bean name.- 从以下版本开始:
- 3.0
- 作者:
- Michael Minella
构造器概要
构造器 构造器 说明 ThreadLocalClassloaderBeanPostProcessor()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
getOrder()
Sets thisBeanFactoryPostProcessor
to the lowest precedence so that it is executed as late as possible in the chain ofBeanFactoryPostProcessor
svoid
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
构造器详细资料
ThreadLocalClassloaderBeanPostProcessor
public ThreadLocalClassloaderBeanPostProcessor()
方法详细资料
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 thisBeanFactoryPostProcessor
to the lowest precedence so that it is executed as late as possible in the chain ofBeanFactoryPostProcessor
s- 指定者:
getOrder
在接口中org.springframework.core.Ordered