spring-projects/spring-batch — pull request #341 by ksseo0701 (2014-07-31 16:11:14+00:00)
Title: Batch-2284: AbstractJobRepositoryFactoryBean's dependency on SimpleJobRepository should be removed

"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()"?