org.red5.server.scheduling
Class ApplicationSchedulingService
java.lang.Object
org.red5.server.scheduling.QuartzSchedulingService
org.red5.server.scheduling.ApplicationSchedulingService
- All Implemented Interfaces:
- ISchedulingService, IScopeService, QuartzSchedulingServiceMXBean, DisposableBean, InitializingBean
@ManagedResource(objectName="org.red5.server:type=ApplicationSchedulingService,name=default")
public class ApplicationSchedulingService
- extends QuartzSchedulingService
This class can be used to initialize Quartz for a Red5 application.
- Author:
- Paul Gregoire ([email protected])
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 InitializingBean
- Overrides:
afterPropertiesSet
in class QuartzSchedulingService
- Throws:
Exception
registerJMX
protected void registerJMX()
unregisterJMX
protected void unregisterJMX()
Copyright © 2006-2012 The Red5 Project