|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.batch.core.step.AbstractStep org.springframework.batch.integration.job.MessageOrientedStep
public class MessageOrientedStep
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.batch.core.step.AbstractStep |
---|
AbstractStep.FatalException |
Field Summary | |
---|---|
static String |
WAITING
Key in execution context for flag to say we are waiting. |
Fields inherited from class org.springframework.batch.core.step.AbstractStep |
---|
JOB_INTERRUPTED |
Constructor Summary | |
---|---|
MessageOrientedStep()
|
Method Summary | |
---|---|
protected void |
close(ExecutionContext ctx)
Do nothing. |
ExitStatus |
doExecute(StepExecution stepExecution)
|
protected void |
open(ExecutionContext ctx)
Do nothing. |
void |
setExecutionTimeout(long executionTimeout)
Public setter for the execution timeout in milliseconds. |
void |
setExecutionTimeoutMinutes(int executionTimeoutMinutes)
Public setter for the execution timeout in minutes. |
void |
setPollingInterval(long pollingInterval)
Public setter for the polling interval in milliseconds while waiting for replies signalling the end of the step. |
void |
setReplyChannel(org.springframework.integration.channel.MessageChannel replyChannel)
Public setter for the replyChannel. |
void |
setRequestChannel(org.springframework.integration.channel.MessageChannel requestChannel)
Public setter for the requestChannel. |
Methods inherited from class org.springframework.batch.core.step.AbstractStep |
---|
afterPropertiesSet, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String WAITING
Constructor Detail |
---|
public MessageOrientedStep()
Method Detail |
---|
public void setExecutionTimeoutMinutes(int executionTimeoutMinutes)
executionTimeoutMinutes
- the timeout to setpublic void setExecutionTimeout(long executionTimeout)
executionTimeout
- public void setPollingInterval(long pollingInterval)
pollingInterval
- the polling interval to setpublic void setRequestChannel(org.springframework.integration.channel.MessageChannel requestChannel)
requestChannel
- the requestChannel to setpublic void setReplyChannel(org.springframework.integration.channel.MessageChannel replyChannel)
replyChannel
- the replyChannel to setpublic ExitStatus doExecute(StepExecution stepExecution) throws JobInterruptedException, UnexpectedJobExecutionException
doExecute
in class AbstractStep
JobInterruptedException
UnexpectedJobExecutionException
protected void open(ExecutionContext ctx) throws Exception
open
in class AbstractStep
Exception
AbstractStep.open(org.springframework.batch.item.ExecutionContext)
protected void close(ExecutionContext ctx) throws Exception
close
in class AbstractStep
Exception
AbstractStep.close(org.springframework.batch.item.ExecutionContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |