repositoryType = configProperties.getProperty(BatchSEEnvironment.JOB_REPOSITORY_TYPE_KEY);
if (repositoryType != null) {
repositoryType = repositoryType.trim();
}
}
JobRepository jobRepository;
synchronized (INSTANCE) {
jobRepository = INSTANCE.jobRepository;
if (repositoryType == null || repositoryType.equalsIgnoreCase(BatchSEEnvironment.REPOSITORY_TYPE_IN_MEMORY)) {
if (!(jobRepository instanceof InMemoryRepository)) {
jobRepository = INSTANCE.jobRepository = InMemoryRepository.getInstance();