net.sf.xworkquartz.lifecycle
Class ExecutionLifecycleListener
java.lang.Object
net.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutionLifecycleListener
public ExecutionLifecycleListener()
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()