org.springframework.batch.item.sample
Class FooService
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GENERATION_LIMIT
public static final int GENERATION_LIMIT
- See Also:
- Constant Field Values
FooService
public FooService()
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.