private void postProcessJob(Object bean, String beanName) {
		AbstractJob job = (AbstractJob) bean;
		job.setName(this.groupName);
		addJobExecutionListener();
		if (!this.jobExecutionListeners.isEmpty()) {
			// Add the job execution listeners to the job parser factory bean
			job.setJobExecutionListeners(this.jobExecutionListeners.toArray(new
					JobExecutionListener[this.jobExecutionListeners.size()]));
		}
		// Add the job name, job parameters incrementer and job restartable flag to {@link DistributedJobLocator}
		// Since, the Spring batch doesn't have persistent JobRegistry, the {@link DistributedJobLocator}
		// acts as the store to have jobName , job parameter incrementer and restartable flag to be
		// used by {@link DistributedJobService}
		jobLocator.addJob(this.groupName, (job.getJobParametersIncrementer() != null) ? true : false,
				job.isRestartable());
		jobLocator.addStepNames(this.groupName, job.getStepNames());
		super.postProcessAfterInitialization(bean, beanName);
	}
JobRegistryBeanPostProcessor that processes batch job from the job module.

@author Ilayaperumal Gopinathan
@author Michael Minella
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/job/BatchJobRegistryBeanPostProcessor.java