Skip to content

Commit d7e13fb

Browse files
committed
Move core.explore package under core.repository
Resolves #4827
1 parent 0a880c7 commit d7e13fb

File tree

56 files changed

+64
-69
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+64
-69
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/JobParametersBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import java.util.HashMap;
2424
import java.util.Map;
2525

26-
import org.springframework.batch.core.explore.JobExplorer;
26+
import org.springframework.batch.core.repository.explore.JobExplorer;
2727
import org.springframework.lang.NonNull;
2828
import org.springframework.util.Assert;
2929

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/BatchRegistrar.java

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import org.springframework.batch.core.configuration.support.DefaultJobLoader;
2525
import org.springframework.batch.core.configuration.support.JobRegistrySmartInitializingSingleton;
2626
import org.springframework.batch.core.configuration.support.MapJobRegistry;
27-
import org.springframework.batch.core.explore.support.JobExplorerFactoryBean;
2827
import org.springframework.batch.core.launch.support.JobOperatorFactoryBean;
2928
import org.springframework.batch.core.launch.support.TaskExecutorJobLauncher;
3029
import org.springframework.batch.core.repository.support.JobRepositoryFactoryBean;

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/DefaultBatchConfiguration.java

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
import org.springframework.batch.core.converter.StringToLocalDateConverter;
3737
import org.springframework.batch.core.converter.StringToLocalDateTimeConverter;
3838
import org.springframework.batch.core.converter.StringToLocalTimeConverter;
39-
import org.springframework.batch.core.explore.JobExplorer;
40-
import org.springframework.batch.core.explore.support.JobExplorerFactoryBean;
4139
import org.springframework.batch.core.launch.JobLauncher;
4240
import org.springframework.batch.core.launch.JobOperator;
4341
import org.springframework.batch.core.launch.support.JobOperatorFactoryBean;

spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/CommandLineJobRunner.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import org.springframework.batch.core.configuration.JobLocator;
4141
import org.springframework.batch.core.converter.DefaultJobParametersConverter;
4242
import org.springframework.batch.core.converter.JobParametersConverter;
43-
import org.springframework.batch.core.explore.JobExplorer;
43+
import org.springframework.batch.core.repository.explore.JobExplorer;
4444
import org.springframework.batch.core.launch.JobExecutionNotFailedException;
4545
import org.springframework.batch.core.launch.JobExecutionNotRunningException;
4646
import org.springframework.batch.core.launch.JobExecutionNotStoppedException;

spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/JobOperatorFactoryBean.java

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import org.springframework.batch.core.configuration.JobRegistry;
2222
import org.springframework.batch.core.converter.DefaultJobParametersConverter;
2323
import org.springframework.batch.core.converter.JobParametersConverter;
24-
import org.springframework.batch.core.explore.JobExplorer;
2524
import org.springframework.batch.core.launch.JobLauncher;
2625
import org.springframework.batch.core.launch.JobOperator;
2726
import org.springframework.batch.core.repository.JobRepository;

spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/SimpleJobOperator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
import org.springframework.batch.core.configuration.ListableJobLocator;
4343
import org.springframework.batch.core.converter.DefaultJobParametersConverter;
4444
import org.springframework.batch.core.converter.JobParametersConverter;
45-
import org.springframework.batch.core.explore.JobExplorer;
45+
import org.springframework.batch.core.repository.explore.JobExplorer;
4646
import org.springframework.batch.core.launch.JobExecutionNotRunningException;
4747
import org.springframework.batch.core.launch.JobInstanceAlreadyExistsException;
4848
import org.springframework.batch.core.launch.JobLauncher;

spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/RemoteStepExecutionAggregator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
import org.springframework.batch.core.JobExecution;
2525
import org.springframework.batch.core.StepExecution;
26-
import org.springframework.batch.core.explore.JobExplorer;
26+
import org.springframework.batch.core.repository.explore.JobExplorer;
2727
import org.springframework.beans.factory.InitializingBean;
2828
import org.springframework.util.Assert;
2929

spring-batch-core/src/main/java/org/springframework/batch/core/repository/JobRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.springframework.batch.core.JobParameters;
2323
import org.springframework.batch.core.Step;
2424
import org.springframework.batch.core.StepExecution;
25-
import org.springframework.batch.core.explore.JobExplorer;
25+
import org.springframework.batch.core.repository.explore.JobExplorer;
2626
import org.springframework.batch.core.repository.dao.JobExecutionDao;
2727
import org.springframework.batch.core.repository.dao.JobInstanceDao;
2828
import org.springframework.batch.item.ExecutionContext;

spring-batch-core/src/main/java/org/springframework/batch/core/explore/JobExplorer.java renamed to spring-batch-core/src/main/java/org/springframework/batch/core/repository/explore/JobExplorer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.springframework.batch.core.explore;
16+
package org.springframework.batch.core.repository.explore;
1717

1818
import java.util.Collections;
1919
import java.util.List;

spring-batch-core/src/main/java/org/springframework/batch/core/explore/package-info.java renamed to spring-batch-core/src/main/java/org/springframework/batch/core/repository/explore/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
* @author Mahmoud Ben Hassine
66
*/
77
@NonNullApi
8-
package org.springframework.batch.core.explore;
8+
package org.springframework.batch.core.repository.explore;
99

1010
import org.springframework.lang.NonNullApi;
+2-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.batch.core.explore.support;
17+
package org.springframework.batch.core.repository.explore.support;
1818

1919
import java.util.Properties;
2020

2121
import org.springframework.aop.framework.ProxyFactory;
22-
import org.springframework.batch.core.explore.JobExplorer;
22+
import org.springframework.batch.core.repository.explore.JobExplorer;
2323
import org.springframework.batch.core.repository.dao.ExecutionContextDao;
2424
import org.springframework.batch.core.repository.dao.JobExecutionDao;
2525
import org.springframework.batch.core.repository.dao.JobInstanceDao;

spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/JobExplorerFactoryBean.java renamed to spring-batch-core/src/main/java/org/springframework/batch/core/repository/explore/support/JobExplorerFactoryBean.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.batch.core.explore.support;
17+
package org.springframework.batch.core.repository.explore.support;
1818

1919
import java.nio.charset.Charset;
2020
import java.nio.charset.StandardCharsets;
@@ -42,7 +42,6 @@
4242
import org.springframework.batch.core.repository.dao.JobExecutionDao;
4343
import org.springframework.batch.core.repository.dao.JobInstanceDao;
4444
import org.springframework.batch.core.repository.dao.StepExecutionDao;
45-
import org.springframework.batch.item.ExecutionContext;
4645
import org.springframework.beans.factory.FactoryBean;
4746
import org.springframework.beans.factory.InitializingBean;
4847
import org.springframework.core.convert.support.ConfigurableConversionService;
+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.springframework.batch.core.explore.support;
16+
package org.springframework.batch.core.repository.explore.support;
1717

1818
import org.springframework.batch.core.repository.dao.ExecutionContextDao;
1919
import org.springframework.batch.core.repository.dao.JobExecutionDao;

spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/SimpleJobExplorer.java renamed to spring-batch-core/src/main/java/org/springframework/batch/core/repository/explore/support/SimpleJobExplorer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.batch.core.explore.support;
17+
package org.springframework.batch.core.repository.explore.support;
1818

1919
import org.springframework.batch.core.JobExecution;
2020
import org.springframework.batch.core.JobInstance;
2121
import org.springframework.batch.core.JobParameters;
2222
import org.springframework.batch.core.StepExecution;
23-
import org.springframework.batch.core.explore.JobExplorer;
23+
import org.springframework.batch.core.repository.explore.JobExplorer;
2424
import org.springframework.batch.core.launch.NoSuchJobException;
2525
import org.springframework.batch.core.repository.dao.ExecutionContextDao;
2626
import org.springframework.batch.core.repository.dao.JobExecutionDao;

spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/package-info.java renamed to spring-batch-core/src/main/java/org/springframework/batch/core/repository/explore/support/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
* @author Mahmoud Ben Hassine
66
*/
77
@NonNullApi
8-
package org.springframework.batch.core.explore.support;
8+
package org.springframework.batch.core.repository.explore.support;
99

1010
import org.springframework.lang.NonNullApi;

spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.springframework.batch.core.JobInstance;
2424
import org.springframework.batch.core.JobParameters;
2525
import org.springframework.batch.core.StepExecution;
26-
import org.springframework.batch.core.explore.support.SimpleJobExplorer;
26+
import org.springframework.batch.core.repository.explore.support.SimpleJobExplorer;
2727
import org.springframework.batch.core.repository.JobExecutionAlreadyRunningException;
2828
import org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException;
2929
import org.springframework.batch.core.repository.JobRepository;

spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/SystemCommandTasklet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import org.springframework.batch.core.StepContribution;
2929
import org.springframework.batch.core.StepExecution;
3030
import org.springframework.batch.core.StepExecutionListener;
31-
import org.springframework.batch.core.explore.JobExplorer;
31+
import org.springframework.batch.core.repository.explore.JobExplorer;
3232
import org.springframework.batch.core.scope.context.ChunkContext;
3333
import org.springframework.batch.repeat.RepeatStatus;
3434
import org.springframework.beans.factory.InitializingBean;

spring-batch-core/src/test/java/org/springframework/batch/core/JobParametersBuilderTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.junit.jupiter.api.BeforeEach;
2727
import org.junit.jupiter.api.Test;
2828

29-
import org.springframework.batch.core.explore.JobExplorer;
29+
import org.springframework.batch.core.repository.explore.JobExplorer;
3030
import org.springframework.batch.core.job.SimpleJob;
3131
import org.springframework.batch.core.launch.support.RunIdIncrementer;
3232

spring-batch-core/src/test/java/org/springframework/batch/core/configuration/annotation/JobLoaderConfigurationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import org.springframework.batch.core.configuration.support.ApplicationContextFactory;
3232
import org.springframework.batch.core.configuration.support.AutomaticJobRegistrar;
3333
import org.springframework.batch.core.configuration.support.GenericApplicationContextFactory;
34-
import org.springframework.batch.core.explore.JobExplorer;
34+
import org.springframework.batch.core.repository.explore.JobExplorer;
3535
import org.springframework.batch.core.job.builder.JobBuilder;
3636
import org.springframework.batch.core.job.builder.SimpleJobBuilder;
3737
import org.springframework.batch.core.launch.JobLauncher;

spring-batch-core/src/test/java/org/springframework/batch/core/explore/support/JobExplorerFactoryBeanTests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
import org.springframework.aop.framework.Advised;
2727
import org.springframework.batch.core.DefaultJobKeyGenerator;
2828
import org.springframework.batch.core.JobKeyGenerator;
29-
import org.springframework.batch.core.explore.JobExplorer;
29+
import org.springframework.batch.core.repository.explore.JobExplorer;
30+
import org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean;
3031
import org.springframework.jdbc.core.JdbcOperations;
3132
import org.springframework.jdbc.core.JdbcTemplate;
3233
import org.springframework.test.util.ReflectionTestUtils;

spring-batch-core/src/test/java/org/springframework/batch/core/explore/support/SimpleJobExplorerIntegrationTests.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import org.springframework.batch.core.UnexpectedJobExecutionException;
3636
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
3737
import org.springframework.batch.core.configuration.xml.DummyStep;
38-
import org.springframework.batch.core.explore.JobExplorer;
38+
import org.springframework.batch.core.repository.explore.JobExplorer;
3939
import org.springframework.batch.core.job.builder.JobBuilder;
4040
import org.springframework.batch.core.job.flow.FlowExecutionStatus;
4141
import org.springframework.batch.core.job.flow.FlowStep;
@@ -48,6 +48,7 @@
4848
import org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException;
4949
import org.springframework.batch.core.repository.JobRepository;
5050
import org.springframework.batch.core.repository.JobRestartException;
51+
import org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean;
5152
import org.springframework.batch.core.step.builder.StepBuilder;
5253
import org.springframework.beans.factory.annotation.Autowired;
5354
import org.springframework.context.ApplicationContext;

spring-batch-core/src/test/java/org/springframework/batch/core/explore/support/SimpleJobExplorerTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
import org.springframework.batch.core.repository.dao.JobExecutionDao;
3737
import org.springframework.batch.core.repository.dao.JobInstanceDao;
3838
import org.springframework.batch.core.repository.dao.StepExecutionDao;
39+
import org.springframework.batch.core.repository.explore.support.SimpleJobExplorer;
3940

4041
/**
4142
* Test {@link SimpleJobExplorer}.

spring-batch-core/src/test/java/org/springframework/batch/core/job/SimpleJobTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
import org.springframework.batch.core.Step;
4545
import org.springframework.batch.core.StepExecution;
4646
import org.springframework.batch.core.UnexpectedJobExecutionException;
47-
import org.springframework.batch.core.explore.JobExplorer;
48-
import org.springframework.batch.core.explore.support.JobExplorerFactoryBean;
47+
import org.springframework.batch.core.repository.explore.JobExplorer;
48+
import org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean;
4949
import org.springframework.batch.core.observability.BatchJobObservation;
5050
import org.springframework.batch.core.repository.JobRepository;
5151
import org.springframework.batch.core.repository.support.JobRepositoryFactoryBean;

spring-batch-core/src/test/java/org/springframework/batch/core/job/flow/FlowJobTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
import org.springframework.batch.core.JobParameters;
2626
import org.springframework.batch.core.Step;
2727
import org.springframework.batch.core.StepExecution;
28-
import org.springframework.batch.core.explore.JobExplorer;
29-
import org.springframework.batch.core.explore.support.JobExplorerFactoryBean;
28+
import org.springframework.batch.core.repository.explore.JobExplorer;
29+
import org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean;
3030
import org.springframework.batch.core.job.flow.support.DefaultStateTransitionComparator;
3131
import org.springframework.batch.core.job.flow.support.SimpleFlow;
3232
import org.springframework.batch.core.job.flow.support.StateTransition;

spring-batch-core/src/test/java/org/springframework/batch/core/launch/support/CommandLineJobRunnerTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import org.springframework.batch.core.StepExecution;
4141
import org.springframework.batch.core.converter.DefaultJobParametersConverter;
4242
import org.springframework.batch.core.converter.JobParametersConverter;
43-
import org.springframework.batch.core.explore.JobExplorer;
43+
import org.springframework.batch.core.repository.explore.JobExplorer;
4444
import org.springframework.batch.core.launch.JobLauncher;
4545
import org.springframework.batch.core.launch.NoSuchJobException;
4646
import org.springframework.batch.core.repository.JobExecutionAlreadyRunningException;

spring-batch-core/src/test/java/org/springframework/batch/core/launch/support/JobOperatorFactoryBeanTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.springframework.aop.framework.Advised;
2424
import org.springframework.batch.core.configuration.JobRegistry;
2525
import org.springframework.batch.core.converter.JobParametersConverter;
26-
import org.springframework.batch.core.explore.JobExplorer;
26+
import org.springframework.batch.core.repository.explore.JobExplorer;
2727
import org.springframework.batch.core.launch.JobLauncher;
2828
import org.springframework.batch.core.launch.JobOperator;
2929
import org.springframework.batch.core.repository.JobRepository;

spring-batch-core/src/test/java/org/springframework/batch/core/launch/support/SimpleJobOperatorTests.java

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import org.springframework.batch.core.configuration.support.MapJobRegistry;
4141
import org.springframework.batch.core.converter.DefaultJobParametersConverter;
4242
import org.springframework.batch.core.converter.JobParametersConverter;
43-
import org.springframework.batch.core.explore.JobExplorer;
4443
import org.springframework.batch.core.job.AbstractJob;
4544
import org.springframework.batch.core.job.JobSupport;
4645
import org.springframework.batch.core.launch.JobInstanceAlreadyExistsException;

spring-batch-core/src/test/java/org/springframework/batch/core/partition/support/RemoteStepExecutionAggregatorTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.springframework.batch.core.JobExecution;
2222
import org.springframework.batch.core.JobParameters;
2323
import org.springframework.batch.core.StepExecution;
24-
import org.springframework.batch.core.explore.support.JobExplorerFactoryBean;
24+
import org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean;
2525
import org.springframework.batch.core.repository.JobRepository;
2626
import org.springframework.batch.core.repository.support.JobRepositoryFactoryBean;
2727
import org.springframework.jdbc.support.JdbcTransactionManager;

spring-batch-core/src/test/java/org/springframework/batch/core/repository/support/MongoDBIntegrationTestConfiguration.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
import org.springframework.batch.core.Job;
1919
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
20-
import org.springframework.batch.core.explore.JobExplorer;
21-
import org.springframework.batch.core.explore.support.MongoJobExplorerFactoryBean;
20+
import org.springframework.batch.core.repository.explore.JobExplorer;
21+
import org.springframework.batch.core.repository.explore.support.MongoJobExplorerFactoryBean;
2222
import org.springframework.batch.core.job.builder.JobBuilder;
2323
import org.springframework.batch.core.repository.JobRepository;
2424
import org.springframework.batch.core.step.builder.StepBuilder;

spring-batch-core/src/test/java/org/springframework/batch/core/repository/support/MongoDBJobExplorerIntegrationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springframework.batch.core.JobParameters;
2727
import org.springframework.batch.core.JobParametersBuilder;
2828
import org.springframework.batch.core.StepExecution;
29-
import org.springframework.batch.core.explore.JobExplorer;
29+
import org.springframework.batch.core.repository.explore.JobExplorer;
3030
import org.springframework.batch.core.launch.JobLauncher;
3131
import org.springframework.beans.factory.annotation.Autowired;
3232
import org.springframework.data.mongodb.core.MongoTemplate;

spring-batch-core/src/test/java/org/springframework/batch/core/step/tasklet/SystemCommandTaskletIntegrationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import org.springframework.batch.core.JobParameters;
3333
import org.springframework.batch.core.StepContribution;
3434
import org.springframework.batch.core.StepExecution;
35-
import org.springframework.batch.core.explore.JobExplorer;
35+
import org.springframework.batch.core.repository.explore.JobExplorer;
3636
import org.springframework.batch.core.scope.context.ChunkContext;
3737
import org.springframework.batch.core.scope.context.StepContext;
3838
import org.springframework.batch.repeat.RepeatStatus;

spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/support/JobRegistryIntegrationTests-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<batch:job-repository id="jobRepository" table-prefix="BATCH_"/>
2121

22-
<bean id="jobExplorer" class="org.springframework.batch.core.explore.support.JobExplorerFactoryBean">
22+
<bean id="jobExplorer" class="org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean">
2323
<property name="dataSource" ref="dataSource"/>
2424
<property name="transactionManager" ref="transactionManager"/>
2525
</bean>

spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/InlineItemHandlerWithStepScopeParserTests-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<job-repository id="jobRepository" table-prefix="BATCH_"/>
1111

12-
<beans:bean id="jobExplorer" class="org.springframework.batch.core.explore.support.JobExplorerFactoryBean">
12+
<beans:bean id="jobExplorer" class="org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean">
1313
<beans:property name="dataSource" ref="dataSource"/>
1414
<beans:property name="transactionManager" ref="transactionManager"/>
1515
</beans:bean>

spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/RepositoryJobParserTests-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<job-repository id="jobRepository" table-prefix="BATCH_"/>
1111

12-
<beans:bean id="jobExplorer" class="org.springframework.batch.core.explore.support.JobExplorerFactoryBean">
12+
<beans:bean id="jobExplorer" class="org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean">
1313
<beans:property name="dataSource" ref="dataSource"/>
1414
<beans:property name="transactionManager" ref="transactionManager"/>
1515
</beans:bean>

spring-batch-core/src/test/resources/org/springframework/batch/core/repository/dao/OptimisticLockingFailureTests-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<property name="dataSource" ref="dataSource" />
4949
</bean>
5050

51-
<bean id="jobExplorer" class="org.springframework.batch.core.explore.support.JobExplorerFactoryBean">
51+
<bean id="jobExplorer" class="org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean">
5252
<property name="dataSource" ref="dataSource"/>
5353
<property name="transactionManager" ref="transactionManager"/>
5454
</bean>

spring-batch-core/src/test/resources/org/springframework/batch/core/step/item/ScriptItemProcessorTests-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<job-repository id="jobRepository" table-prefix="BATCH_"/>
2121

22-
<beans:bean id="jobExplorer" class="org.springframework.batch.core.explore.support.JobExplorerFactoryBean">
22+
<beans:bean id="jobExplorer" class="org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean">
2323
<beans:property name="dataSource" ref="dataSource"/>
2424
<beans:property name="transactionManager" ref="transactionManager"/>
2525
</beans:bean>

spring-batch-core/src/test/resources/simple-job-launcher-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
p:jobLauncher-ref="jobLauncher" p:jobRepository-ref="jobRepository" p:jobRegistry-ref="jobRegistry" />
2525

2626
<bean id="jobExplorer"
27-
class="org.springframework.batch.core.explore.support.JobExplorerFactoryBean"
27+
class="org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean"
2828
p:dataSource-ref="dataSource" p:transactionManager-ref="transactionManager" />
2929

3030
<bean id="jobRegistry"

spring-batch-integration/src/main/java/org/springframework/batch/integration/config/annotation/BatchIntegrationConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.springframework.batch.integration.config.annotation;
1717

18-
import org.springframework.batch.core.explore.JobExplorer;
18+
import org.springframework.batch.core.repository.explore.JobExplorer;
1919
import org.springframework.batch.core.repository.JobRepository;
2020
import org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilderFactory;
2121
import org.springframework.batch.integration.chunk.RemoteChunkingWorkerBuilder;

0 commit comments

Comments
 (0)