org.springframework.batch.item.sample
Class FooService

java.lang.Object
  extended by org.springframework.batch.item.sample.FooService

public class FooService
extends Object

Custom class that contains the logic of providing and processing Foo objects. It serves the purpose to show how providing/processing logic contained in a custom class can be reused by the framework.

Author:
Robert Kasanicky

Field Summary
static int GENERATION_LIMIT
           
 
Constructor Summary
FooService()
           
 
Method Summary
 Foo generateFoo()
           
 List getGeneratedFoos()
           
 List getProcessedFooNameValuePairs()
           
 List getProcessedFoos()
           
 void processFoo(Foo foo)
           
 void processNameValuePair(String name, int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GENERATION_LIMIT

public static final int GENERATION_LIMIT
See Also:
Constant Field Values
Constructor Detail

FooService

public FooService()
Method Detail

generateFoo

public Foo generateFoo()

processFoo

public void processFoo(Foo foo)

processNameValuePair

public void processNameValuePair(String name,
                                 int value)

getGeneratedFoos

public List getGeneratedFoos()

getProcessedFoos

public List getProcessedFoos()

getProcessedFooNameValuePairs

public List getProcessedFooNameValuePairs()


Copyright © 2008 SpringSource. All Rights Reserved.