@Configuration @EnableBatchProcessing public class ValidationSampleConfiguration extends java.lang.Object
Constructor and Description |
---|
ValidationSampleConfiguration() |
Modifier and Type | Method and Description |
---|---|
ListItemReader<Person> |
itemReader() |
BeanValidatingItemProcessor<Person> |
itemValidator() |
ListItemWriter<Person> |
itemWriter() |
Job |
job() |
Step |
step() |
@Bean public ListItemReader<Person> itemReader()
@Bean public ListItemWriter<Person> itemWriter()
@Bean public BeanValidatingItemProcessor<Person> itemValidator() throws java.lang.Exception
java.lang.Exception
@Bean public Step step() throws java.lang.Exception
java.lang.Exception
@Bean public Job job() throws java.lang.Exception
java.lang.Exception