List of usage examples for org.springframework.batch.core.scope.context StepContext removeAttribute
@Override
@Nullable
public Object removeAttribute(String name)
From source file:org.springframework.batch.core.scope.StepScope.java
/** * @see Scope#remove(String)/*w w w . j a v a 2 s .c o m*/ */ @Override public Object remove(String name) { StepContext context = getContext(); if (logger.isDebugEnabled()) { logger.debug(String.format("Removing from scope=%s, name=%s", this.getName(), name)); } return context.removeAttribute(name); }