Package | Description |
---|---|
org.springframework.batch.core |
Core domain context for Spring Batch covering jobs, steps,
configuration and execution abstractions.
|
org.springframework.batch.core.listener |
Generic implementations of core batch listener interfaces.
|
org.springframework.batch.core.scope.context | |
org.springframework.batch.core.step.item |
Specific implementations of step concerns for item-oriented approach.
|
org.springframework.batch.core.step.tasklet |
Interfaces and generic implementations of tasklet concerns.
|
Modifier and Type | Method and Description |
---|---|
void |
ChunkListener.afterChunk(ChunkContext context)
Callback after the chunk is executed, outside the transaction.
|
void |
ChunkListener.afterChunkError(ChunkContext context)
Callback after a chunk has been marked for rollback.
|
void |
ChunkListener.beforeChunk(ChunkContext context)
Callback before the chunk is executed, but inside the transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
StepListenerSupport.afterChunk(ChunkContext context) |
void |
MulticasterBatchListener.afterChunk(ChunkContext context) |
void |
CompositeChunkListener.afterChunk(ChunkContext context)
Call the registered listeners in order, respecting and prioritizing those
that implement
Ordered . |
void |
ChunkListenerSupport.afterChunk(ChunkContext context) |
void |
StepListenerSupport.afterChunkError(ChunkContext context) |
void |
MulticasterBatchListener.afterChunkError(ChunkContext context) |
void |
CompositeChunkListener.afterChunkError(ChunkContext context) |
void |
ChunkListenerSupport.afterChunkError(ChunkContext context) |
void |
StepListenerSupport.beforeChunk(ChunkContext context) |
void |
MulticasterBatchListener.beforeChunk(ChunkContext context) |
void |
CompositeChunkListener.beforeChunk(ChunkContext context)
Call the registered listeners in reverse order.
|
void |
ChunkListenerSupport.beforeChunk(ChunkContext context) |
Modifier and Type | Method and Description |
---|---|
abstract RepeatStatus |
StepContextRepeatCallback.doInChunkContext(RepeatContext context,
ChunkContext chunkContext)
Do the work required for this chunk of the step.
|
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
ChunkOrientedTasklet.execute(StepContribution contribution,
ChunkContext chunkContext) |
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
Tasklet.execute(StepContribution contribution,
ChunkContext chunkContext)
Given the current context in the form of a step contribution, do whatever
is necessary to process this unit inside a transaction.
|
RepeatStatus |
SystemCommandTasklet.execute(StepContribution contribution,
ChunkContext chunkContext)
Execute system command and map its exit code to
ExitStatus using
SystemProcessExitCodeMapper . |
RepeatStatus |
MethodInvokingTaskletAdapter.execute(StepContribution contribution,
ChunkContext chunkContext)
Delegate execution to the target object and translate the return value to
an
ExitStatus by invoking a method in the delegate POJO. |
RepeatStatus |
CallableTaskletAdapter.execute(StepContribution contribution,
ChunkContext chunkContext)
Execute the provided Callable and return its
RepeatStatus . |
Copyright © 2014 Pivotal. All rights reserved.