BATCH-325:Added close() to readers and writers.

This commit is contained in:
lucasward
2008-01-29 17:15:49 +00:00
parent 9e91cf4629
commit 3d7f40ca90
9 changed files with 24 additions and 2 deletions

View File

@@ -34,4 +34,7 @@ public class JdbcGameDao extends JdbcDaoSupport implements ItemWriter {
this.getJdbcTemplate().update(INSERT_GAME, args);
}
public void close() throws Exception {
}
}

View File

@@ -28,4 +28,7 @@ public class JdbcPlayerSummaryDao extends JdbcDaoSupport implements ItemWriter {
getJdbcTemplate().update(INSERT_SUMMARY, args);
}
public void close() throws Exception {
}
}

View File

@@ -34,4 +34,7 @@ public class CustomerCreditIncreaseWriter implements ItemWriter {
customerCreditDao.writeCredit(customerCredit);
}
public void close() throws Exception {
}
}

View File

@@ -42,4 +42,7 @@ public class CustomerCreditUpdateWriter implements ItemWriter {
this.dao = writer;
}
public void close() throws Exception {
}
}

View File

@@ -27,4 +27,7 @@ public class DummyItemWriter implements ItemWriter {
// NO-OP
}
public void close() throws Exception {
}
}

View File

@@ -15,4 +15,7 @@ public class PlayerItemWriter implements ItemWriter {
public void setPlayerDao(PlayerDao playerDao) {
this.playerDao = playerDao;
}
public void close() throws Exception {
}
}

View File

@@ -73,4 +73,7 @@ public class StagingItemWriter extends JdbcDaoSupport implements
new int[] { Types.BIGINT, Types.BIGINT, Types.BLOB, Types.CHAR});
}
public void close() throws Exception {
}
}