public class ThreadLocalClassloaderBeanPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.PriorityOrdered
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.| Constructor and Description |
|---|
ThreadLocalClassloaderBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder()
Sets this
BeanFactoryPostProcessor to the lowest precedence so that
it is executed as late as possible in the chain of BeanFactoryPostProcessors |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
public ThreadLocalClassloaderBeanPostProcessor()
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
BeanFactoryPostProcessor to the lowest precedence so that
it is executed as late as possible in the chain of BeanFactoryPostProcessorsgetOrder in interface org.springframework.core.Ordered