Added method to replace old setName method.

This commit is contained in:
Dean de Bree
2013-03-04 07:24:38 +02:00
committed by Michael Minella
parent 739ebb58c6
commit 958d7c89a5

View File

@@ -391,6 +391,17 @@ public class FlatFileItemWriter<T> extends AbstractItemStreamItemWriter<T> imple
}
return (OutputState) state;
}
/**
* The name of the component which will be used as a stem for keys in the
* {@link ExecutionContext}. Subclasses should provide a default value, e.g.
* the short form of the class name.
*
* @param name the name for the component
*/
public void setName(String name) {
this.setExecutionContextName(name);
}
/**
* Encapsulates the runtime state of the writer. All state changing