diff --git a/spring-batch-execution/.springBeans b/spring-batch-execution/.springBeans index 2683003dd..7d698662f 100644 --- a/spring-batch-execution/.springBeans +++ b/spring-batch-execution/.springBeans @@ -1,18 +1,14 @@ 1 - + - - src/test/resources/simple-container-definition.xml - src/test/resources/job-configuration.xml src/test/resources/org/springframework/batch/execution/repository/dao/data-source-context.xml src/test/resources/org/springframework/batch/execution/repository/dao/sql-dao-test.xml src/test/resources/org/springframework/batch/execution/configuration/test-context.xml - src/test/resources/beanRefContext.xml src/test/resources/org/springframework/batch/execution/bootstrap/support/job.xml src/test/resources/org/springframework/batch/execution/bootstrap/support/test-environment.xml @@ -22,8 +18,6 @@ true false - src/test/resources/job-configuration.xml - src/test/resources/simple-container-definition.xml diff --git a/spring-batch-execution/src/test/resources/beanRefContext.xml b/spring-batch-execution/src/test/resources/beanRefContext.xml deleted file mode 100644 index 5c1e149cd..000000000 --- a/spring-batch-execution/src/test/resources/beanRefContext.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - simple-container-definition.xml - - - - - - org/springframework/batch/execution/bootstrap/support/test-batch-environment.xml - - - - - - org/springframework/batch/execution/bootstrap/support/test-batch-environment-no-launcher.xml - - - - \ No newline at end of file diff --git a/spring-batch-execution/src/test/resources/job-configuration.xml b/spring-batch-execution/src/test/resources/job-configuration.xml deleted file mode 100644 index c7580e372..000000000 --- a/spring-batch-execution/src/test/resources/job-configuration.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spring-batch-execution/src/test/resources/simple-container-definition.xml b/spring-batch-execution/src/test/resources/simple-container-definition.xml deleted file mode 100644 index 9c6901d8c..000000000 --- a/spring-batch-execution/src/test/resources/simple-container-definition.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spring-batch-samples/.springBeans b/spring-batch-samples/.springBeans index c6ae57c3e..f7ec99f5f 100644 --- a/spring-batch-samples/.springBeans +++ b/spring-batch-samples/.springBeans @@ -1,11 +1,10 @@ 1 - + - src/main/resources/jobs/fixedLengthImportJob.xml src/main/resources/jobs/multilineJob.xml @@ -17,7 +16,6 @@ src/main/resources/jobs/tradeJobIo.xml src/main/resources/jobs/restartSample.xml src/main/resources/data-source-context.xml - src/main/resources/simple-container-definition.xml src/main/resources/jobs/beanWrapperMapperSampleJob.xml src/main/resources/jobs/adhocLoopJob.xml src/main/resources/jobs/infiniteLoopJob.xml @@ -43,7 +41,6 @@ src/main/resources/jobs/adhocLoopJob.xml src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml - src/main/resources/simple-container-definition.xml @@ -54,7 +51,6 @@ src/main/resources/jobs/beanWrapperMapperSampleJob.xml src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml - src/main/resources/simple-container-definition.xml @@ -65,7 +61,6 @@ src/main/resources/jobs/fixedLengthImportJob.xml src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml - src/main/resources/simple-container-definition.xml @@ -76,7 +71,6 @@ src/main/resources/jobs/infiniteLoopJob.xml src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml - src/main/resources/simple-container-definition.xml @@ -87,7 +81,6 @@ src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml src/main/resources/jobs/multilineJob.xml - src/main/resources/simple-container-definition.xml @@ -98,7 +91,6 @@ src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml src/main/resources/jobs/restartSample.xml - src/main/resources/simple-container-definition.xml @@ -110,7 +102,6 @@ src/main/resources/data-source-context-init.xml src/main/resources/jobs/tradeJob.xml src/main/resources/jobs/tradeJobIo.xml - src/main/resources/simple-container-definition.xml @@ -124,7 +115,6 @@ src/main/resources/jobs/multilineOrderIo.xml src/main/resources/jobs/multilineOrderJob.xml src/main/resources/jobs/multilineOrderOutputDescriptors.xml - src/main/resources/simple-container-definition.xml @@ -134,7 +124,6 @@ src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml - src/main/resources/simple-container-definition.xml src/main/resources/jobs/xmlStaxJob.xml @@ -144,7 +133,6 @@ false src/main/resources/data-source-context.xml - src/main/resources/simple-container-definition.xml src/main/resources/jobs/footballJob.xml @@ -155,7 +143,6 @@ src/main/resources/data-source-context.xml src/main/resources/jobs/hibernateJob.xml - src/main/resources/simple-container-definition.xml @@ -165,7 +152,6 @@ src/main/resources/data-source-context.xml src/main/resources/jobs/ibatisJob.xml - src/main/resources/simple-container-definition.xml @@ -175,7 +161,6 @@ src/main/resources/data-source-context.xml src/main/resources/jobs/parallelJob.xml - src/main/resources/simple-container-definition.xml @@ -183,7 +168,6 @@ true false - src/main/resources/simple-container-definition.xml src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml src/main/resources/jobs/compositeProcessorSampleJob.xml @@ -196,7 +180,6 @@ src/main/resources/data-source-context.xml src/main/resources/jobs/delegatingJob.xml - src/main/resources/simple-container-definition.xml @@ -205,7 +188,6 @@ false src/main/resources/data-source-context.xml - src/main/resources/simple-container-definition.xml @@ -223,7 +205,6 @@ src/main/resources/data-source-context.xml src/main/resources/jobs/rollbackJob.xml - src/main/resources/simple-container-definition.xml src/main/resources/jobs/tradeJobIo.xml @@ -233,7 +214,6 @@ false src/main/resources/jobs/retrySample.xml - src/main/resources/simple-container-definition.xml src/main/resources/data-source-context.xml src/main/resources/data-source-context-init.xml @@ -244,7 +224,6 @@ false src/main/resources/data-source-context.xml - src/main/resources/simple-container-definition.xml src/main/resources/jobs/simpleJob.xml diff --git a/spring-batch-samples/src/main/resources/quartz-job-launcher-context.xml b/spring-batch-samples/src/main/resources/quartz-job-launcher-context.xml index 78b756b0b..22bb626f5 100644 --- a/spring-batch-samples/src/main/resources/quartz-job-launcher-context.xml +++ b/spring-batch-samples/src/main/resources/quartz-job-launcher-context.xml @@ -6,7 +6,7 @@ http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"> - + diff --git a/spring-batch-samples/src/main/resources/simple-container-definition.xml b/spring-batch-samples/src/main/resources/simple-job-launcher-context.xml similarity index 100% rename from spring-batch-samples/src/main/resources/simple-container-definition.xml rename to spring-batch-samples/src/main/resources/simple-job-launcher-context.xml diff --git a/spring-batch-samples/src/test/java/org/springframework/batch/sample/dao/JdbcJobRepositoryTests.java b/spring-batch-samples/src/test/java/org/springframework/batch/sample/dao/JdbcJobRepositoryTests.java index e8ed4ef7d..cefa22778 100644 --- a/spring-batch-samples/src/test/java/org/springframework/batch/sample/dao/JdbcJobRepositoryTests.java +++ b/spring-batch-samples/src/test/java/org/springframework/batch/sample/dao/JdbcJobRepositoryTests.java @@ -34,7 +34,7 @@ public class JdbcJobRepositoryTests extends AbstractTransactionalDataSourceSprin } protected String[] getConfigLocations() { - return new String[] { "simple-container-definition.xml" }; + return new String[] { "simple-job-launcher-context.xml" }; } protected void onSetUpInTransaction() throws Exception { diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/BeanWrapperMapperSampleJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/BeanWrapperMapperSampleJobFunctionalTests-context.xml index 5da630ff5..7f29c7950 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/BeanWrapperMapperSampleJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/BeanWrapperMapperSampleJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/CompositeProcessorSampleFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/CompositeProcessorSampleFunctionalTests-context.xml index 9e3cea936..c39b58f55 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/CompositeProcessorSampleFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/CompositeProcessorSampleFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/DelegatingJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/DelegatingJobFunctionalTests-context.xml index 66a08c89e..9bc71b2e6 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/DelegatingJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/DelegatingJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/FixedLengthImportJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/FixedLengthImportJobFunctionalTests-context.xml index 989a84a89..1be281566 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/FixedLengthImportJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/FixedLengthImportJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/FootballJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/FootballJobFunctionalTests-context.xml index 9f1c8369c..8f8000f40 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/FootballJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/FootballJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/GracefulShutdownFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/GracefulShutdownFunctionalTests-context.xml index de56c8199..93b921438 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/GracefulShutdownFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/GracefulShutdownFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/HibernateFailureJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/HibernateFailureJobFunctionalTests-context.xml index e42f76a40..0ff99097e 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/HibernateFailureJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/HibernateFailureJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/HibernateJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/HibernateJobFunctionalTests-context.xml index e42f76a40..0ff99097e 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/HibernateJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/HibernateJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/IbatisJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/IbatisJobFunctionalTests-context.xml index b714a989f..febb709fa 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/IbatisJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/IbatisJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/MultilineJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/MultilineJobFunctionalTests-context.xml index f1234e9f1..638ccc88e 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/MultilineJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/MultilineJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/MultilineOrderJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/MultilineOrderJobFunctionalTests-context.xml index 14eb7710c..8c516d2c7 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/MultilineOrderJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/MultilineOrderJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/ParallelJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/ParallelJobFunctionalTests-context.xml index 2ce2daf9b..44f3288b3 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/ParallelJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/ParallelJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RestartFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RestartFunctionalTests-context.xml index 0a7a8b1e5..76460ba57 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RestartFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RestartFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RetrySampleFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RetrySampleFunctionalTests-context.xml index 69785592c..5ae2aca9a 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RetrySampleFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RetrySampleFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RollbackJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RollbackJobFunctionalTests-context.xml index 6e624a1ef..d517e4008 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RollbackJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/RollbackJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/SimpleJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/SimpleJobFunctionalTests-context.xml index b04d2f299..f9e2afacc 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/SimpleJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/SimpleJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/TradeJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/TradeJobFunctionalTests-context.xml index e4dcda99c..c3b224ce7 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/TradeJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/TradeJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - + diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/XmlStaxJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/XmlStaxJobFunctionalTests-context.xml index b54650f44..763aeaca5 100644 --- a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/XmlStaxJobFunctionalTests-context.xml +++ b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/XmlStaxJobFunctionalTests-context.xml @@ -4,7 +4,7 @@ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> - +