net.sf.xworkquartz.lifecycle
Class ExecutionLifecycleListener

java.lang.Object
  extended bynet.sf.xworkquartz.lifecycle.ExecutionLifecycleListener
All Implemented Interfaces:
JobListener

public class ExecutionLifecycleListener
extends java.lang.Object
implements JobListener

A quartz job listener to handle the lifecycle of an execution-based XWork component manager. Therefor a map is stored in the job execution context, using the current job instance as the key.

Version:
$Id: ExecutionLifecycleListener.java,v 1.3 2004/06/12 14:46:35 stephanmueller Exp $
Author:
Stephan Mueller

Constructor Summary
ExecutionLifecycleListener()
           
 
Method Summary
protected  com.opensymphony.xwork.interceptor.component.DefaultComponentManager createComponentManager()
           
 java.lang.String getName()
           
 void jobExecutionVetoed(JobExecutionContext context)
           
 void jobToBeExecuted(JobExecutionContext context)
           
 void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionLifecycleListener

public ExecutionLifecycleListener()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface JobListener

jobToBeExecuted

public void jobToBeExecuted(JobExecutionContext context)
Specified by:
jobToBeExecuted in interface JobListener

jobWasExecuted

public void jobWasExecuted(JobExecutionContext context,
                           JobExecutionException jobException)
Specified by:
jobWasExecuted in interface JobListener

jobExecutionVetoed

public void jobExecutionVetoed(JobExecutionContext context)
Specified by:
jobExecutionVetoed in interface JobListener

createComponentManager

protected com.opensymphony.xwork.interceptor.component.DefaultComponentManager createComponentManager()

XWork-Quartz Project Page