public abstract class AbstractQuartzJob extends org.springframework.scheduling.quartz.QuartzJobBean implements GenericJob
QuartzJobBean and implements GenericJob. A class which extends this will be
eligible for doing Quartz Jobs. Those classes required Statefulness (Threadsafety) so need to annotate class
with @DisallowConcurrentExecution. This class also wrap up wiring of some of the common settings and beans.| Constructor and Description |
|---|
AbstractQuartzJob() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeInternal(org.quartz.JobExecutionContext jobCtx) |
void |
setCityDataRequired(boolean cityDataRequired) |
void |
setUserName(String userName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteJobprotected void executeInternal(org.quartz.JobExecutionContext jobCtx)
throws org.quartz.JobExecutionException
executeInternal in class org.springframework.scheduling.quartz.QuartzJobBeanorg.quartz.JobExecutionExceptionpublic void setUserName(String userName)
public void setCityDataRequired(boolean cityDataRequired)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.