From d265ef6b3e65f16c82ba0743005f7cd6a171d57b Mon Sep 17 00:00:00 2001 From: dsyer Date: Wed, 5 Mar 2008 22:01:51 +0000 Subject: [PATCH] Complete change to setter for job registry --- spring-batch-samples/.settings/jmxLauncher.launch | 2 +- .../batch/sample/launch}/TaskExecutorLauncher.java | 3 ++- .../src/main/resources/simple-container-definition.xml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename spring-batch-samples/src/{test/java/org/springframework/batch/sample => main/java/org/springframework/batch/sample/launch}/TaskExecutorLauncher.java (93%) diff --git a/spring-batch-samples/.settings/jmxLauncher.launch b/spring-batch-samples/.settings/jmxLauncher.launch index d3b19648a..eb79ad06a 100644 --- a/spring-batch-samples/.settings/jmxLauncher.launch +++ b/spring-batch-samples/.settings/jmxLauncher.launch @@ -10,7 +10,7 @@ - + diff --git a/spring-batch-samples/src/test/java/org/springframework/batch/sample/TaskExecutorLauncher.java b/spring-batch-samples/src/main/java/org/springframework/batch/sample/launch/TaskExecutorLauncher.java similarity index 93% rename from spring-batch-samples/src/test/java/org/springframework/batch/sample/TaskExecutorLauncher.java rename to spring-batch-samples/src/main/java/org/springframework/batch/sample/launch/TaskExecutorLauncher.java index 5c724877f..6388a8afc 100644 --- a/spring-batch-samples/src/test/java/org/springframework/batch/sample/TaskExecutorLauncher.java +++ b/spring-batch-samples/src/main/java/org/springframework/batch/sample/launch/TaskExecutorLauncher.java @@ -13,11 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.springframework.batch.sample; +package org.springframework.batch.sample.launch; import org.springframework.batch.core.configuration.JobRegistry; import org.springframework.batch.core.domain.Job; import org.springframework.batch.core.repository.DuplicateJobException; +import org.springframework.batch.sample.ClassPathXmlApplicationContextJobFactory; import org.springframework.beans.factory.config.AutowireCapableBeanFactory; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.beans.factory.xml.XmlBeanFactory; diff --git a/spring-batch-samples/src/main/resources/simple-container-definition.xml b/spring-batch-samples/src/main/resources/simple-container-definition.xml index 907dcc569..5f5581209 100644 --- a/spring-batch-samples/src/main/resources/simple-container-definition.xml +++ b/spring-batch-samples/src/main/resources/simple-container-definition.xml @@ -13,7 +13,7 @@ -