Class ScheduledPersistedActionServiceImpl.ScheduledJobWrapper
java.lang.Object
org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl.ScheduledJobWrapper
- All Implemented Interfaces:
org.quartz.Job,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Enclosing class:
- ScheduledPersistedActionServiceImpl
public static class ScheduledPersistedActionServiceImpl.ScheduledJobWrapper
extends Object
implements org.quartz.Job, org.springframework.context.ApplicationContextAware
The thing that Quartz runs when the schedule fires.
Handles fetching the action, and having it run asynchronously
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.quartz.JobExecutionContext jobContext) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
ScheduledJobWrapper
public ScheduledJobWrapper()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
execute
public void execute(org.quartz.JobExecutionContext jobContext) - Specified by:
executein interfaceorg.quartz.Job
-