public abstract class AbstractScopeAwareLongRunningJob extends com.helger.schedule.job.AbstractScopeAwareJob implements ILongRunningJob
| Constructor and Description |
|---|
AbstractScopeAwareLongRunningJob() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterExecuteInScope(org.quartz.JobDataMap aJobDataMap,
org.quartz.JobExecutionContext aContext,
com.helger.commons.state.ESuccess eExecSuccess) |
protected void |
beforeExecuteInScope(org.quartz.JobDataMap aJobDataMap,
org.quartz.JobExecutionContext aContext) |
protected abstract String |
getCurrentUserID(org.quartz.JobDataMap aJobDataMap)
Get the ID of the current user who executes the job.
|
protected LongRunningJobManager |
getLongRunningJobManager() |
afterExecute, beforeExecute, createMockHttpServletRequest, createMockHttpServletResponse, getApplicationScopeIDexecute, getExceptionCallbacks, onExecute, triggerCustomExceptionHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateLongRunningJobResult, getJobDescription@Nullable protected abstract String getCurrentUserID(@Nonnull org.quartz.JobDataMap aJobDataMap)
aJobDataMap - The current job data map. Never null.null but it is
recommended to deliver "guest" or the like instead.@Nonnull protected final LongRunningJobManager getLongRunningJobManager()
LongRunningJobManager to be used. May not return
null.@OverridingMethodsMustInvokeSuper protected void beforeExecuteInScope(@Nonnull org.quartz.JobDataMap aJobDataMap, @Nonnull org.quartz.JobExecutionContext aContext)
beforeExecuteInScope in class com.helger.schedule.job.AbstractScopeAwareJob@OverridingMethodsMustInvokeSuper protected void afterExecuteInScope(@Nonnull org.quartz.JobDataMap aJobDataMap, @Nonnull org.quartz.JobExecutionContext aContext, @Nonnull com.helger.commons.state.ESuccess eExecSuccess)
afterExecuteInScope in class com.helger.schedule.job.AbstractScopeAwareJobCopyright © 2014–2015 Philip Helger. All rights reserved.