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