JobExecutionContext « Job « Spring Q&A





1. Setup xstream autodetectAnnotations for JobExecutionContext serializer    forum.springsource.org

I can't find any configuration for this, is there a way to setup xstream autodetectAnnotations for the JobExecutionContext serializer ? I have a hibernate object with relations and when I try ...

2. Quartz JobExecutionContext serialization problem    forum.springsource.org

Hi, I'm having some problems implementing Quartz, Spring and JMS. What's happening is I would like to pass a Quartz JobExecutionContext along with an object down a JMS queue but I ...

3. Putting values in JobExecutionContext    forum.springsource.org

Alos tried this in the tasklet: Code: public ExitStatus afterStep(StepExecution stepExecution) { Date now = new Date(); stepExecution.getJobExecution().getExecutionContext().putString(PROV_CODE_KEY, province_code); stepExecution.getJobExecution().getExecutionContext().putString(ASS_BODY_CODE_KEY, ass_body_code); stepExecution.getJobExecution().getExecutionContext().putString(ASS_BODY_NAME_KEY, ass_body_name); stepExecution.getJobExecution().getExecutionContext().putLong(SEQ_RUN_NUMBER_KEY, seq_run_number); stepExecution.getJobExecution().getExecutionContext().putString(DAY_KEY, dayFormat.format(now)); stepExecution.getJobExecution().getExecutionContext().putString(MONTH_KEY, monthFormat.format(now)); stepExecution.getJobExecution().getExecutionContext().putString(YEAR_KEY, yearFormat.format(now)); ...

4. Getting objects from JobExecutionContext    forum.springsource.org

Getting objects from JobExecutionContext Hi! I'm working on a batch and have a problem; I want an object to be passed along from start to finish ... being initialized (and "terminated/handled") ...

5. Problem using #{jobExecutionContext[${batchConfig.resources.sourceDatabase}]}    forum.springsource.org

Hi, I am using Spring Batch 2.0.0 and try to use the late binding feture to load the data source through execution context. Here is the bean defination -

6. Accessing the JobExecutionContext from the MultiResourceItemReader delegate    forum.springsource.org

Accessing the JobExecutionContext from the MultiResourceItemReader delegate Hi guys, I am currently encountering some issues in getting an object stored in the ExecutionContext from a delegate (i.e. a subclass of FlatFileItemReader) ...