@Lazy @Configuration @EnableBatchProcessing @EnableTransactionManagement @PropertySource(value="classpath:application.properties") @ComponentScan(value="org.wallerlab.yoink") @Import(value={AdaptiveConfig.class,MathConfig.class,RegionizerConfig.class,MolecularConfig.class,DensityConfig.class}) public class BatchConfig extends java.lang.Object
Constructor and Description |
---|
BatchConfig() |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.core.Step |
batchStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory,
org.springframework.batch.item.ItemReader<org.xml_cml.schema.Cml> cmlFilereader,
org.springframework.batch.item.ItemProcessor<javax.xml.bind.JAXBElement,Job> serialAdaptiveQMMMProcessor,
org.springframework.batch.item.ItemWriter<Job> cmlFileResponseWriter)
build executing steps
|
org.springframework.batch.core.Step |
clusteringStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory,
org.springframework.batch.item.ItemReader<org.xml_cml.schema.Cml> cmlFilereader,
org.springframework.batch.item.ItemProcessor<javax.xml.bind.JAXBElement,Job> serialClusteringProcessor,
org.springframework.batch.item.ItemWriter<Job> cmlFileResponseWriter) |
org.springframework.batch.core.Job |
importBatchJob(org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobs)
build a batch job using a batch based approach.
|
org.springframework.batch.core.Job |
importClusteringJob(org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobs) |
org.springframework.batch.core.Job |
importJmsJob(org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobs)
build a batch job using a JMS based approach.
|
org.springframework.batch.core.Job |
importServiceJob(org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobs)
build whole job using a service based job
|
org.springframework.batch.core.Step |
jmsStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory)
build executing steps
|
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertySourcesPlaceholderConfigurer() |
org.springframework.batch.core.Step |
serviceStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory,
org.springframework.batch.item.ItemReader<java.util.List<java.io.File>> cmlFilesRequest,
org.springframework.batch.item.ItemProcessor<java.util.List<java.io.File>,java.util.List<Job>> adaptiveQMMMProcessor,
org.springframework.batch.item.ItemWriter<java.util.List<Job>> cmlFilesResponse)
build executing steps
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@Bean public org.springframework.batch.core.Job importServiceJob(org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobs)
jobs
- - jobs
JobBuilderFactory
Job
@Bean public org.springframework.batch.core.Job importBatchJob(org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobs)
jobs
- -
JobBuilderFactory
Job
@Bean public org.springframework.batch.core.Job importClusteringJob(org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobs)
@Bean public org.springframework.batch.core.Step serviceStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory, org.springframework.batch.item.ItemReader<java.util.List<java.io.File>> cmlFilesRequest, org.springframework.batch.item.ItemProcessor<java.util.List<java.io.File>,java.util.List<Job>> adaptiveQMMMProcessor, org.springframework.batch.item.ItemWriter<java.util.List<Job>> cmlFilesResponse)
stepBuilderFactory
- -
StepBuilderFactory
cmlFilesRequest
- -ItemReader
adaptiveQMMMProcessor
- -ItemProcessor
cmlFilesResponse
- -ItemWriter
Step
@Bean public org.springframework.batch.core.Step batchStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory, org.springframework.batch.item.ItemReader<org.xml_cml.schema.Cml> cmlFilereader, org.springframework.batch.item.ItemProcessor<javax.xml.bind.JAXBElement,Job> serialAdaptiveQMMMProcessor, org.springframework.batch.item.ItemWriter<Job> cmlFileResponseWriter)
stepBuilderFactory
- -
StepBuilderFactory
cmlFilereader
- -ItemReader
serialAdaptiveQMMMProcessor
- -ItemProcessor
cmlFileResponseWriter
- -ItemWriter
Step
@Bean public org.springframework.batch.core.Step clusteringStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory, org.springframework.batch.item.ItemReader<org.xml_cml.schema.Cml> cmlFilereader, org.springframework.batch.item.ItemProcessor<javax.xml.bind.JAXBElement,Job> serialClusteringProcessor, org.springframework.batch.item.ItemWriter<Job> cmlFileResponseWriter)
@Bean public org.springframework.batch.core.Job importJmsJob(org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobs)
jobs
- -
JobBuilderFactory
Job
@Bean public org.springframework.batch.core.Step jmsStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory)
stepBuilderFactory
- -
StepBuilderFactory
Step
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
org.springframework.beans.BeansException