Class PersonWriter
- java.lang.Object
- org.springframework.batch.sample.domain.person.internal.PersonWriter
- All Implemented Interfaces:
ItemWriter<Person>
public class PersonWriter extends java.lang.Object implements ItemWriter<Person>
Constructor Summary
Constructors Constructor Description PersonWriter()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(java.util.List<? extends Person> data)
Process the supplied data element.
Method Detail
write
public void write(java.util.List<? extends Person> data)
Description copied from interface:ItemWriter
Process the supplied data element. Will not be called with any null items in normal operation.- Specified by:
write
in interfaceItemWriter<Person>
- Parameters:
data
- items to be written