org.springframework.batch.item
Class ExecutionContextUserSupport
java.lang.Object
org.springframework.batch.item.ExecutionContextUserSupport
- Direct Known Subclasses:
- FlatFileItemReader, FlatFileItemWriter, HibernateCursorItemReader, IbatisKeyCollector, JdbcCursorItemReader, MultipleColumnJdbcKeyCollector, SingleColumnJdbcKeyCollector, StaxEventItemReader, StaxEventItemWriter
public class ExecutionContextUserSupport
- extends Object
Facilitates assigning names to objects persisting data in
ExecutionContext
and generating keys for ExecutionContext
based on the name.
- Author:
- Robert Kasanicky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutionContextUserSupport
public ExecutionContextUserSupport()
setName
public void setName(String name)
- Parameters:
name
- unique name for the item stream used to create execution
context keys.
getKey
protected String getKey(String s)
- Prefix the argument with the name of the item stream to create a unique
key that can be safely used to identify data stored in
ExecutionContext
.
Copyright © 2008 SpringSource. All Rights Reserved.