org.springframework.batch.core.scope.util
Interface ContextFactory

All Known Implementing Classes:
StepContextFactory

public interface ContextFactory

Interface to allow the context root for placeholder resolution to be switched at runtime. Useful for testing.

Author:
Dave Syer

Method Summary
 Object getContext()
           
 String getContextId()
           
 

Method Detail

getContext

Object getContext()
Returns:
a root object to which placeholders resolve relatively

getContextId

String getContextId()
Returns:
a unique identifier for this context


Copyright © 2013 SpringSource. All Rights Reserved.