OPEN - issue BATCH-398: That old stateful / stateless things again....

http://jira.springframework.org/browse/BATCH-398

Split up config for TaskExecutorLauncher a bit.  Heading for a more rational approach based on a new application context per run.
This commit is contained in:
dsyer
2008-02-28 15:10:13 +00:00
parent e9d74d0088
commit e3f72a64f8
6 changed files with 96 additions and 64 deletions

View File

@@ -38,7 +38,7 @@ public class TaskExecutorLauncher {
// TaskExecutor. The adhocLoopJob has both, which is why it has to be
// included in the paths above.
final ApplicationContext parent = new ClassPathXmlApplicationContext(
"simple-container-definition.xml");
"adhoc-job-launcher-context.xml");
new Thread(new Runnable() {
public void run() {