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
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.