org.springframework.batch.core.scope.util
Class StepContextFactory
java.lang.Object
org.springframework.batch.core.scope.util.StepContextFactory
- All Implemented Interfaces:
- ContextFactory
public class StepContextFactory
- extends Object
- implements ContextFactory
Implementation of ContextFactory that provides the current
StepContext as a context object.
- Author:
- Dave Syer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepContextFactory
public StepContextFactory()
getContext
public Object getContext()
- Specified by:
getContext in interface ContextFactory
- Returns:
- a root object to which placeholders resolve relatively
getContextId
public String getContextId()
- Specified by:
getContextId in interface ContextFactory
- Returns:
- a unique identifier for this context
Copyright © 2012. All Rights Reserved.