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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user