T
- item typepublic class StagingItemProcessor<T> extends 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(DataSource dataSource) |
void |
setJdbcTemplate(org.springframework.jdbc.core.JdbcOperations jdbcTemplate) |
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcOperations jdbcTemplate)
public void setDataSource(DataSource dataSource)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public T process(ProcessIndicatorItemWrapper<T> wrapper) throws Exception
process
in interface ItemProcessor<ProcessIndicatorItemWrapper<T>,T>
wrapper
- to be processedException
Copyright © 2014 Pivotal. All rights reserved.