org.red5.server.scheduling
Class ApplicationSchedulingService
java.lang.Object
org.red5.server.scheduling.QuartzSchedulingService
org.red5.server.scheduling.ApplicationSchedulingService
- All Implemented Interfaces:
- IScopeService, ISchedulingService, QuartzSchedulingServiceMBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
public class ApplicationSchedulingService
- extends QuartzSchedulingService
This class can be used to initialize Quartz for a Red5 application.
- Author:
- Paul Gregoire (mondain@gmail.com)
Methods inherited from class org.red5.server.scheduling.QuartzSchedulingService |
addScheduledJob, addScheduledJobAfterDelay, addScheduledOnceJob, addScheduledOnceJob, destroy, getJobName, getScheduledJobNames, pauseScheduledJob, pauseScheduledTrigger, removeScheduledJob, resumeScheduledJob, resumeScheduledTrigger, setFactory, setInstanceId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUARTZ_FACTORY_KEY
public static final String QUARTZ_FACTORY_KEY
- See Also:
- Constant Field Values
ApplicationSchedulingService
public ApplicationSchedulingService()
getApplicationName
public String getApplicationName()
setApplicationName
public void setApplicationName(String applicationName)
getConfigFile
public String getConfigFile()
setConfigFile
public void setConfigFile(String configFile)
setServletAttribute
public void setServletAttribute(javax.servlet.ServletContext servletContext)
- Sets the scheduler factory in the servlet context.
- Parameters:
servletContext
-
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Description copied from class:
QuartzSchedulingService
- Constructs a new QuartzSchedulingService.
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in class QuartzSchedulingService
- Throws:
Exception
registerJMX
public void registerJMX()
- Overrides:
registerJMX
in class QuartzSchedulingService
Copyright © 2006-2010 The Red5 Project