T
- item typepublic class StagingItemProcessor<T> extends java.lang.Object implements ItemProcessor<ProcessIndicatorItemWrapper<T>,T>, org.springframework.beans.factory.InitializingBean
StagingItemReader
,
StagingItemWriter
,
ProcessIndicatorItemWrapper
Constructor and Description |
---|
StagingItemProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
T |
process(ProcessIndicatorItemWrapper<T> wrapper)
Use the technical identifier to mark the input row as processed and
return unwrapped item.
|
void |
setDataSource(javax.sql.DataSource dataSource) |
void |
setJdbcTemplate(org.springframework.jdbc.core.JdbcOperations jdbcTemplate) |
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcOperations jdbcTemplate)
public void setDataSource(javax.sql.DataSource dataSource)
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public T process(ProcessIndicatorItemWrapper<T> wrapper) throws java.lang.Exception
process
in interface ItemProcessor<ProcessIndicatorItemWrapper<T>,T>
wrapper
- to be processedjava.lang.Exception