org.springframework.batch.sample.domain.person
Class PersonService

java.lang.Object
  extended by org.springframework.batch.sample.domain.person.PersonService

public class PersonService
extends Object

Custom class that contains logic that would normally be be contained in ItemReader and ItemWriter.

Author:
tomas.slanina, Robert Kasanicky

Constructor Summary
PersonService()
           
 
Method Summary
 Person getData()
           
 int getReceivedCount()
           
 int getReturnedCount()
           
 void processPerson(String name, String city)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonService

public PersonService()
Method Detail

getData

public Person getData()

processPerson

public void processPerson(String name,
                          String city)

getReturnedCount

public int getReturnedCount()

getReceivedCount

public int getReceivedCount()


Copyright © 2009 SpringSource. All Rights Reserved.