public class

DefaultJobListener

extends Object
implements JobListener
java.lang.Object
   ↳ org.apache.archiva.redback.components.scheduler.DefaultJobListener

Class Overview

Currently the role this class plays is set the value of the JobDataMap in the job so that the convenience methods for accessing the logger, context, service broker and configuration will work as expected.

Summary

Public Constructors
DefaultJobListener()
Public Methods
String getName()

Get the name of the JobListener.

void jobExecutionVetoed(JobExecutionContext jobExecutionContext)
void jobToBeExecuted(JobExecutionContext context)

Called by the Scheduler when a Job is about to be executed (an associated org.quartz.Trigger has occured).

void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)

Called by the Scheduler after a Job has been executed, and be for the associated Trigger's triggered(xx) method has been called.

[Expand]
Inherited Methods
From class java.lang.Object
From interface org.quartz.JobListener

Public Constructors

public DefaultJobListener ()

Public Methods

public String getName ()

Get the name of the JobListener.

public void jobExecutionVetoed (JobExecutionContext jobExecutionContext)

public void jobToBeExecuted (JobExecutionContext context)

Called by the Scheduler when a Job is about to be executed (an associated org.quartz.Trigger has occured).

public void jobWasExecuted (JobExecutionContext context, JobExecutionException jobException)

Called by the Scheduler after a Job has been executed, and be for the associated Trigger's triggered(xx) method has been called.