org.apache.fulcrum.quartz.impl
Class QuartzSchedulerImpl
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.framework.logger.AbstractLogEnabled
       org.apache.fulcrum.quartz.impl.QuartzSchedulerImpl
org.apache.fulcrum.quartz.impl.QuartzSchedulerImpl
- All Implemented Interfaces: 
- org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, QuartzScheduler, org.quartz.JobListener
- public class QuartzSchedulerImpl 
- extends org.apache.avalon.framework.logger.AbstractLogEnabled- implements QuartzScheduler, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.thread.ThreadSafe, org.quartz.JobListener, org.apache.avalon.framework.activity.Startable
Avalon service  wrapping the QuartzScheduler.
 
| Method Summary | 
|  void | configure(org.apache.avalon.framework.configuration.Configuration conf)
 | 
|  void | dispose()
 | 
|  String | getName()Calls getName() on jobListener
 | 
|  org.quartz.Scheduler | getScheduler()Get the underlying Quartz scheduler.
 | 
|  void | initialize()
 | 
|  void | jobExecutionVetoed(org.quartz.JobExecutionContext context)
 | 
|  void | jobToBeExecuted(org.quartz.JobExecutionContext context)Hook to support jobs implementing Avalon interface such as
 LogEnabled and Serviceable.
 | 
|  void | jobWasExecuted(org.quartz.JobExecutionContext context,
                             org.quartz.JobExecutionException ex)
 | 
|  void | service(org.apache.avalon.framework.service.ServiceManager manager)
 | 
|  void | start()
 | 
|  void | stop()
 | 
 
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled | 
| enableLogging, getLogger, setupLogger, setupLogger, setupLogger | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
QuartzSchedulerImpl
public QuartzSchedulerImpl()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration conf)
               throws org.apache.avalon.framework.configuration.ConfigurationException
- 
- Specified by:
- configurein interface- org.apache.avalon.framework.configuration.Configurable
 
- 
- Throws:
- org.apache.avalon.framework.configuration.ConfigurationException
- See Also:
- Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
 
service
public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
- 
- Specified by:
- servicein interface- org.apache.avalon.framework.service.Serviceable
 
- 
- Throws:
- org.apache.avalon.framework.service.ServiceException
- See Also:
- Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
 
initialize
public void initialize()
                throws Exception
- 
- Specified by:
- initializein interface- org.apache.avalon.framework.activity.Initializable
 
- 
- Throws:
- Exception
- See Also:
- Initializable.initialize()
 
start
public void start()
           throws Exception
- 
- Specified by:
- startin interface- org.apache.avalon.framework.activity.Startable
 
- 
- Throws:
- Exception
 
stop
public void stop()
          throws Exception
- 
- Specified by:
- stopin interface- org.apache.avalon.framework.activity.Startable
 
- 
- Throws:
- Exception
 
dispose
public void dispose()
- 
- Specified by:
- disposein interface- org.apache.avalon.framework.activity.Disposable
 
- 
- See Also:
- Disposable.dispose()
 
getScheduler
public org.quartz.Scheduler getScheduler()
- Description copied from interface: QuartzScheduler
- Get the underlying Quartz scheduler.
 
- 
- Specified by:
- getSchedulerin interface- QuartzScheduler
 
- 
- Returns:
- the Quartz scheduler
- See Also:
- QuartzScheduler.getScheduler()
 
getName
public String getName()
- Calls getName() on jobListener
 
- 
- Specified by:
- getNamein interface- org.quartz.JobListener
 
- 
- See Also:
- JobListener.getName()
 
jobToBeExecuted
public void jobToBeExecuted(org.quartz.JobExecutionContext context)
- Hook to support jobs implementing Avalon interface such as
 LogEnabled and Serviceable.
 
- 
- Specified by:
- jobToBeExecutedin interface- org.quartz.JobListener
 
- 
- See Also:
- JobListener.jobToBeExecuted(org.quartz.JobExecutionContext)
 
jobWasExecuted
public void jobWasExecuted(org.quartz.JobExecutionContext context,
                           org.quartz.JobExecutionException ex)
- 
- Specified by:
- jobWasExecutedin interface- org.quartz.JobListener
 
- 
- See Also:
- JobListener.jobWasExecuted(org.quartz.JobExecutionContext, org.quartz.JobExecutionException)
 
jobExecutionVetoed
public void jobExecutionVetoed(org.quartz.JobExecutionContext context)
- 
- Specified by:
- jobExecutionVetoedin interface- org.quartz.JobListener
 
- 
- See Also:
- JobListener.jobExecutionVetoed(org.quartz.JobExecutionContext)
 
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.