Java org.springframework.batch.core.scope.context StepSynchronizationManager fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.core.scope.context StepSynchronizationManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.core.scope.context StepSynchronizationManager.

The text is from its open source code.

Method

voidclose()
Method for unregistering the current context - should always and only be used by in conjunction with a matching #register(StepExecution) to ensure that #getContext() always returns the correct value.
StepContextgetContext()
Getter for the current context if there is one, otherwise returns null .
StepContextregister(StepExecution stepExecution)
Register a context with the current thread - always put a matching #close() call in a finally block to ensure that the correct context is available in the enclosing block.
voidrelease()
A convenient "deep" close operation.