public class TaskBatchExecutionListenerBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
TaskBatchExecutionListener
into any batch jobs (beans
assignable to AbstractJob
) that are executed within the scope of a task. The
context this is used within is expected to have only one bean of type
TaskBatchExecutionListener
.Constructor and Description |
---|
TaskBatchExecutionListenerBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setJobNames(List<String> jobNames) |
public TaskBatchExecutionListenerBeanPostProcessor()
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.