spring-projects/spring-batch — pull request #342 by ksseo0701 (2014-08-01 04:21:58+00:00)
Title: BATCH-2284: Improvement of AbstractJobRepositoryFactoryBean.getTarget()

"JobRepositoryFactoryBean extends AbstractJobRepositoryFactoryBean" class is "Factory Class" for JobRepository. I think this means that any JobRepository can be created. But, when I want to use CustomJobRepository(instead of SimpleJobRepository), I must make new CustomAbstractJobRepositoryFactoryBean. Because AbstractJobRepositoryFactoryBean.getTarget() is private method, so SimpleJobRepository is created certainly.

How about changing from "private getTarget()" to "protected getTarget()"?