IN PROGRESS - BATCH-693: Refactor samples along domain contours

packaged football job
This commit is contained in:
robokaso
2008-07-25 09:02:14 +00:00
parent eaa407a01d
commit 37b158f8b0
19 changed files with 31 additions and 29 deletions

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.mapping;
package org.springframework.batch.sample.football;
import org.springframework.batch.item.file.mapping.FieldSet;
import org.springframework.batch.item.file.mapping.FieldSetMapper;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.dao;
package org.springframework.batch.sample.football;
import org.springframework.batch.item.ClearFailedException;
import org.springframework.batch.item.FlushFailedException;

View File

@@ -1,7 +1,7 @@
/**
*
*/
package org.springframework.batch.sample.dao;
package org.springframework.batch.sample.football;
import org.springframework.batch.sample.domain.Player;
import org.springframework.jdbc.core.support.JdbcDaoSupport;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.dao;
package org.springframework.batch.sample.football;
import org.springframework.batch.item.ClearFailedException;
import org.springframework.batch.item.FlushFailedException;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.dao;
package org.springframework.batch.sample.football;
import org.springframework.batch.sample.domain.Player;

View File

@@ -1,4 +1,4 @@
package org.springframework.batch.sample.mapping;
package org.springframework.batch.sample.football;
import org.springframework.batch.item.file.mapping.FieldSet;
import org.springframework.batch.item.file.mapping.FieldSetMapper;

View File

@@ -1,7 +1,6 @@
package org.springframework.batch.sample.item.writer;
package org.springframework.batch.sample.football;
import org.springframework.batch.item.support.AbstractItemWriter;
import org.springframework.batch.sample.dao.PlayerDao;
import org.springframework.batch.sample.domain.Player;
public class PlayerItemWriter extends AbstractItemWriter<Player> {

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.batch.sample.mapping;
package org.springframework.batch.sample.football;
import java.sql.ResultSet;
import java.sql.SQLException;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.batch.sample.mapping;
package org.springframework.batch.sample.football;
import java.sql.ResultSet;
import java.sql.SQLException;

View File

@@ -12,7 +12,7 @@ import org.springframework.batch.sample.domain.Trade;
*
* @author Robert Kasanicky
*/
public class GeneratingItemReader implements ItemReader<Trade> {
public class GeneratingTradeItemReader implements ItemReader<Trade> {
private int limit = 1;