public class BatchPropertyBeanPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware
BeanPostProcessor implementation used to inject JSR-352 String properties into batch artifact fields
that are marked with the BatchProperty annotation.
| Constructor and Description |
|---|
BatchPropertyBeanPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
postProcessAfterInitialization(java.lang.Object artifact,
java.lang.String artifactName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object artifact,
java.lang.String artifactName) |
void |
setBatchPropertyContext(BatchPropertyContext batchPropertyContext) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public java.lang.Object postProcessBeforeInitialization(java.lang.Object artifact,
java.lang.String artifactName)
throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic java.lang.Object postProcessAfterInitialization(java.lang.Object artifact,
java.lang.String artifactName)
throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansException@Autowired public void setBatchPropertyContext(BatchPropertyContext batchPropertyContext)