Package org.alfresco.repo.scheduler
Class AlfrescoJobFactory
- java.lang.Object
-
- org.springframework.scheduling.quartz.AdaptableJobFactory
-
- org.springframework.scheduling.quartz.SpringBeanJobFactory
-
- org.alfresco.repo.scheduler.AlfrescoJobFactory
-
- All Implemented Interfaces:
org.quartz.spi.JobFactory,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.scheduling.quartz.SchedulerContextAware
public class AlfrescoJobFactory extends org.springframework.scheduling.quartz.SpringBeanJobFactory implements org.springframework.context.ApplicationContextAwareA special Job Factory that is based on the usualSpringBeanJobFactory, but also handlesApplicationContextAwarejob beans.- Author:
- Nick Burch
-
-
Constructor Summary
Constructors Constructor Description AlfrescoJobFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectcreateJobInstance(org.quartz.spi.TriggerFiredBundle bundle)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)-
Methods inherited from class org.springframework.scheduling.quartz.SpringBeanJobFactory
isEligibleForPropertyPopulation, setIgnoredUnknownProperties, setSchedulerContext
-
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Overrides:
setApplicationContextin classorg.springframework.scheduling.quartz.SpringBeanJobFactory
-
createJobInstance
protected java.lang.Object createJobInstance(org.quartz.spi.TriggerFiredBundle bundle) throws java.lang.Exception- Overrides:
createJobInstancein classorg.springframework.scheduling.quartz.SpringBeanJobFactory- Throws:
java.lang.Exception
-
-