org.springframework.batch.integration.job
Class StepExecutionMessageHandler

java.lang.Object
  extended by org.springframework.batch.integration.job.StepExecutionMessageHandler

@MessageEndpoint
public class StepExecutionMessageHandler
extends java.lang.Object

Author:
Dave Syer

Constructor Summary
StepExecutionMessageHandler()
           
 
Method Summary
 JobExecutionRequest handle(JobExecutionRequest request)
           
 void setJobRepository(org.springframework.batch.core.repository.JobRepository jobRepository)
          Public setter for the JobRepository that is needed to manage the state of the batch meta domain (jobs, steps, executions) during the life of a job.
 void setStep(org.springframework.batch.core.Step step)
          Public setter for the Step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepExecutionMessageHandler

public StepExecutionMessageHandler()
Method Detail

setStep

public void setStep(org.springframework.batch.core.Step step)
Public setter for the Step.

Parameters:
step - the step to set

setJobRepository

public void setJobRepository(org.springframework.batch.core.repository.JobRepository jobRepository)
Public setter for the JobRepository that is needed to manage the state of the batch meta domain (jobs, steps, executions) during the life of a job.

Parameters:
jobRepository -

handle

@ServiceActivator
public JobExecutionRequest handle(JobExecutionRequest request)


Copyright © 2009. All Rights Reserved.