Package | Description |
---|---|
org.springframework.batch.core.scope.context |
Modifier and Type | Method and Description |
---|---|
static StepContext |
StepSynchronizationManager.getContext()
Getter for the current context if there is one, otherwise returns null.
|
StepContext |
ChunkContext.getStepContext() |
static StepContext |
StepSynchronizationManager.register(StepExecution stepExecution)
Register a context with the current thread - always put a matching
StepSynchronizationManager.close() call in a finally block to ensure that the correct
context is available in the enclosing block. |
Constructor and Description |
---|
ChunkContext(StepContext stepContext) |
Copyright © 2014 Pivotal. All rights reserved.