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
 java.lang.Object getContext()
           
 java.lang.String getContextId()
           
 

Method Detail

getContext

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

getContextId

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


Copyright © 2009. All Rights Reserved.