org.springframework.batch.integration.launch
Class JobLaunchingMessageHandler

java.lang.Object
  extended by org.springframework.batch.integration.launch.JobLaunchingMessageHandler
All Implemented Interfaces:
JobLaunchRequestHandler

public class JobLaunchingMessageHandler
extends Object
implements JobLaunchRequestHandler

Message handler which uses strategies to convert a Message into a job and a set of job parameters

Author:
Jonas Partner, Dave Syer

Constructor Summary
JobLaunchingMessageHandler(JobLauncher jobLauncher)
           
 
Method Summary
 JobExecution launch(JobLaunchRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobLaunchingMessageHandler

public JobLaunchingMessageHandler(JobLauncher jobLauncher)
Parameters:
jobLauncher -
Method Detail

launch

@ServiceActivator
public JobExecution launch(JobLaunchRequest request)
                    throws JobExecutionException
Specified by:
launch in interface JobLaunchRequestHandler
Throws:
JobExecutionException


Copyright © 2011. All Rights Reserved.