|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.adapter.AbstractMethodInvokingDelegator<T>
org.springframework.batch.item.adapter.ItemWriterAdapter<T>
public class ItemWriterAdapter<T>
Delegates item processing to a custom method - passes the item as an argument for the delegate method.
PropertyExtractingDelegatingItemWriter| Constructor Summary | |
|---|---|
ItemWriterAdapter()
|
|
| Method Summary | |
|---|---|
void |
write(java.util.List<? extends T> items)
Process the supplied data element. |
| Methods inherited from class org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator |
|---|
afterPropertiesSet, invokeDelegateMethod, invokeDelegateMethodWithArgument, invokeDelegateMethodWithArguments, setArguments, setTargetMethod, setTargetObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemWriterAdapter()
| Method Detail |
|---|
public void write(java.util.List<? extends T> items)
throws java.lang.Exception
ItemWriter
write in interface ItemWriter<T>java.lang.Exception - if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||