Class PersonService
- java.lang.Object
- org.springframework.batch.sample.domain.person.PersonService
public class PersonService extends java.lang.ObjectCustom class that contains logic that would normally be be contained inItemReaderandItemWriter.- Author:
- tomas.slanina, Robert Kasanicky
Constructor Summary
Constructors Constructor Description PersonService()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersongetData()intgetReceivedCount()intgetReturnedCount()voidprocessPerson(java.lang.String name, java.lang.String city)
Method Detail
getData
public Person getData()
processPerson
public void processPerson(java.lang.String name, java.lang.String city)
getReturnedCount
public int getReturnedCount()
getReceivedCount
public int getReceivedCount()