public class PlayerItemWriter extends Object implements ItemWriter<Player>
Constructor and Description |
---|
PlayerItemWriter() |
Modifier and Type | Method and Description |
---|---|
void |
setPlayerDao(PlayerDao playerDao) |
void |
write(List<? extends Player> players)
Process the supplied data element.
|
public void write(List<? extends Player> players) throws Exception
ItemWriter
write
in interface ItemWriter<Player>
Exception
- if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.public void setPlayerDao(PlayerDao playerDao)
Copyright © 2014 Pivotal. All rights reserved.