org.springframework.batch.core.scope.util
Class StepContextFactory

java.lang.Object
  extended by 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

Constructor Summary
StepContextFactory()
           
 
Method Summary
 Object getContext()
           
 String getContextId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepContextFactory

public StepContextFactory()
Method Detail

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 © 2013 SpringSource. All Rights Reserved.