public class ItemProcessorAdapter<I,O> extends AbstractMethodInvokingDelegator<O> implements ItemProcessor<I,O>
AbstractMethodInvokingDelegator.InvocationTargetThrowableWrapper
Constructor and Description |
---|
ItemProcessorAdapter() |
Modifier and Type | Method and Description |
---|---|
O |
process(I item)
Invoke the delegate method and return the result.
|
afterPropertiesSet, getArguments, invokeDelegateMethod, invokeDelegateMethodWithArgument, invokeDelegateMethodWithArguments, setArguments, setTargetMethod, setTargetObject
@Nullable public O process(I item) throws java.lang.Exception
process
in interface ItemProcessor<I,O>
item
- to be processed, never null
.null
if processing of the
provided item should not continue.java.lang.Exception
- thrown if exception occurs during processing.ItemProcessor.process(Object)