Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.StepContribution;
import org.springframework.batch.core.StepExecution;
import org.springframework.batch.core.listener.StepExecutionListenerSupport;
import org.springframework.batch.core.StepExecutionListener;
import org.springframework.batch.core.scope.context.ChunkContext;
import org.springframework.batch.core.scope.context.StepContext;
import org.springframework.batch.core.step.tasklet.Tasklet;
Expand All @@ -40,7 +40,7 @@
/**
* A tasklet to check metadata of job instances to delete.
*/
class CheckMaxJobInstanceIdToDeleteTasklet extends StepExecutionListenerSupport implements Tasklet {
class CheckMaxJobInstanceIdToDeleteTasklet implements Tasklet, StepExecutionListener {

static final String MAX_ID_KEY = "maxJobInstanceId";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.StepContribution;
import org.springframework.batch.core.StepExecution;
import org.springframework.batch.core.listener.StepExecutionListenerSupport;
import org.springframework.batch.core.StepExecutionListener;
import org.springframework.batch.core.scope.context.ChunkContext;
import org.springframework.batch.core.step.tasklet.Tasklet;
import org.springframework.batch.item.ExecutionContext;
Expand All @@ -35,7 +35,7 @@
* A tasklet to delete metadata of Spring Batch.
* This tasklet must be executed after execution of {@link CheckMaxJobInstanceIdToDeleteTasklet}
*/
class DeleteMetadataTasklet extends StepExecutionListenerSupport implements Tasklet {
class DeleteMetadataTasklet implements Tasklet, StepExecutionListener {

static final String LOW_ID_KEY = "lowJobInstanceId";

Expand Down