Package org.springframework.batch.core.listener

# Class JobExecutionListenerSupport

java.lang.Object
org.springframework.batch.core.listener.JobExecutionListenerSupport

All Implemented Interfaces:
  `JobExecutionListener`

@Deprecated public class JobExecutionListenerSupport extends Object implements JobExecutionListener
Deprecated.
as of 5.0, in favor of the default methods on the `JobExecutionListener`

Author:
  Dave Syer

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JobExecutionListenerSupport()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `afterJob(JobExecution jobExecution)`
  Deprecated.
  Callback after completion of a job.
  `void`
  `beforeJob(JobExecution jobExecution)`
  Deprecated.
  Callback before a job executes.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### JobExecutionListenerSupport

    public JobExecutionListenerSupport()
    Deprecated.

- ## Method Details

  - ### afterJob

    public void afterJob(JobExecution jobExecution)
    Deprecated.
    Description copied from interface: `JobExecutionListener`
    Callback after completion of a job. Called after both both successful and failed executions. To perform logic on a particular status, use "if (jobExecution.getStatus() == BatchStatus.X)".
    Specified by:
      `afterJob` in interface `JobExecutionListener`
    Parameters:
      `jobExecution` - the current `JobExecution`

  - ### beforeJob

    public void beforeJob(JobExecution jobExecution)
    Deprecated.
    Description copied from interface: `JobExecutionListener`
    Callback before a job executes.
    Specified by:
      `beforeJob` in interface `JobExecutionListener`
    Parameters:
      `jobExecution` - the current `JobExecution`