类 LoggingItemWriter<T>
- java.lang.Object
- org.springframework.batch.core.test.timeout.LoggingItemWriter<T>
- 所有已实现的接口:
ItemWriter<T>
public class LoggingItemWriter<T> extends java.lang.Object implements ItemWriter<T>
字段概要
字段 修饰符和类型 字段 说明 protected org.apache.commons.logging.Log
logger
构造器概要
构造器 构造器 说明 LoggingItemWriter()
字段详细资料
logger
protected org.apache.commons.logging.Log logger
构造器详细资料
LoggingItemWriter
public LoggingItemWriter()
方法详细资料
write
public void write(java.util.List<? extends T> items) throws java.lang.Exception
从接口复制的说明:ItemWriter
Process the supplied data element. Will not be called with any null items in normal operation.- 指定者:
write
在接口中ItemWriter<T>
- 参数:
items
- items to be written- 抛出:
java.lang.Exception
- if there are errors. The framework will catch the exception and convert or rethrow it as appropriate.