org.springframework.batch.core.repository.dao
Interface ExecutionContextDao

All Known Implementing Classes:
JdbcExecutionContextDao, MapExecutionContextDao

public interface ExecutionContextDao

DAO interface for persisting and retrieving ExecutionContexts.

Author:
Robert Kasanicky

Method Summary
 org.springframework.batch.item.ExecutionContext getExecutionContext(JobExecution jobExecution)
           
 org.springframework.batch.item.ExecutionContext getExecutionContext(StepExecution stepExecution)
           
 void saveExecutionContext(JobExecution jobExecution)
          Persist the execution context associated with the given jobExecution, persistent entry for the context should not exist yet.
 void saveExecutionContext(StepExecution stepExecution)
          Persist the execution context associated with the given stepExecution, persistent entry for the context should not exist yet.
 void updateExecutionContext(JobExecution jobExecution)
          Persist the updates of execution context associated with the given jobExecution.
 void updateExecutionContext(StepExecution stepExecution)
          Persist the updates of execution context associated with the given stepExecution.
 

Method Detail

getExecutionContext

org.springframework.batch.item.ExecutionContext getExecutionContext(JobExecution jobExecution)
Parameters:
jobExecution -
Returns:
execution context associated with the given jobExecution

getExecutionContext

org.springframework.batch.item.ExecutionContext getExecutionContext(StepExecution stepExecution)
Parameters:
stepExecution -
Returns:
execution context associated with the given stepExecution

saveExecutionContext

void saveExecutionContext(JobExecution jobExecution)
Persist the execution context associated with the given jobExecution, persistent entry for the context should not exist yet.

Parameters:
jobExecution -

saveExecutionContext

void saveExecutionContext(StepExecution stepExecution)
Persist the execution context associated with the given stepExecution, persistent entry for the context should not exist yet.

Parameters:
stepExecution -

updateExecutionContext

void updateExecutionContext(JobExecution jobExecution)
Persist the updates of execution context associated with the given jobExecution. Persistent entry should already exist for this context.

Parameters:
jobExecution -

updateExecutionContext

void updateExecutionContext(StepExecution stepExecution)
Persist the updates of execution context associated with the given stepExecution. Persistent entry should already exist for this context.

Parameters:
stepExecution -


Copyright © 2009. All Rights Reserved.