org.springframework.batch.core.configuration.xml
Class CoreNamespacePostProcessor

java.lang.Object
  extended by org.springframework.batch.core.configuration.xml.CoreNamespacePostProcessor
All Implemented Interfaces:
BeanFactoryPostProcessor, BeanPostProcessor, ApplicationContextAware

public class CoreNamespacePostProcessor
extends Object
implements BeanPostProcessor, BeanFactoryPostProcessor, ApplicationContextAware

Post-process jobs and steps defined using the batch namespace to inject dependencies.

Since:
2.0.1
Author:
Dan Garrette

Constructor Summary
CoreNamespacePostProcessor()
           
 
Method Summary
 Object postProcessAfterInitialization(Object bean, String beanName)
           
 void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
           
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreNamespacePostProcessor

public CoreNamespacePostProcessor()
Method Detail

postProcessBeanFactory

public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
                            throws BeansException
Specified by:
postProcessBeanFactory in interface BeanFactoryPostProcessor
Throws:
BeansException

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object bean,
                                              String beanName)
                                       throws BeansException
Specified by:
postProcessBeforeInitialization in interface BeanPostProcessor
Throws:
BeansException

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object bean,
                                             String beanName)
                                      throws BeansException
Specified by:
postProcessAfterInitialization in interface BeanPostProcessor
Throws:
BeansException

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface ApplicationContextAware


Copyright © 2009 SpringSource. All Rights Reserved.