public class BatchJobRegistryBeanPostProcessor extends org.springframework.batch.core.configuration.support.JobRegistryBeanPostProcessor implements org.springframework.beans.factory.BeanFactoryAware, XDJobListenerConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JOB |
CHUNK_EVENTS_SUFFIX, ITEM_EVENTS_SUFFIX, JOB_EXECUTION_EVENTS_SUFFIX, SKIP_EVENTS_SUFFIX, STEP_EXECUTION_EVENTS_SUFFIX, XD_AGGREGATED_EVENTS_CHANNEL, XD_CHUNK_EVENTS_CHANNEL, XD_CHUNK_LISTENER_BEAN, XD_ITEM_EVENTS_CHANNEL, XD_ITEM_LISTENER_BEAN, XD_JOB_EXECUTION_EVENTS_CHANNEL, XD_JOB_EXECUTION_LISTENER_BEAN, XD_JOB_LISTENERS_SUFFIXES, XD_SKIP_EVENTS_CHANNEL, XD_SKIP_LISTENER_BEAN, XD_STEP_EXECUTION_EVENTS_CHANNEL, XD_STEP_EXECUTION_LISTENER_BEAN
Constructor and Description |
---|
BatchJobRegistryBeanPostProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setGroupName(java.lang.String groupName) |
void |
setJobLocator(DistributedJobLocator jobLocator) |
void |
setJobRegistry(org.springframework.batch.core.configuration.JobRegistry jobRegistry) |
public static final java.lang.String JOB
public void setJobRegistry(org.springframework.batch.core.configuration.JobRegistry jobRegistry)
setJobRegistry
in class org.springframework.batch.core.configuration.support.JobRegistryBeanPostProcessor
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
setBeanFactory
in class org.springframework.batch.core.configuration.support.JobRegistryBeanPostProcessor
org.springframework.beans.BeansException
public void setJobLocator(DistributedJobLocator jobLocator)
public void setGroupName(java.lang.String groupName)
setGroupName
in class org.springframework.batch.core.configuration.support.JobRegistryBeanPostProcessor
public java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName)
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessAfterInitialization
in class org.springframework.batch.core.configuration.support.JobRegistryBeanPostProcessor
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
destroy
in class org.springframework.batch.core.configuration.support.JobRegistryBeanPostProcessor
java.lang.Exception