| Modifier and Type | Field and Description |
|---|---|
protected AsyncRunner |
asyncRunner |
protected java.util.Map<java.lang.Class<T>,JobProcessor<T>> |
jobHandlerMap |
protected java.util.List<JobProcessor<T>> |
jobProcessorList |
| Constructor and Description |
|---|
AbstractJobEngine() |
| Modifier and Type | Method and Description |
|---|---|
protected JobProcessor<T> |
getProcessor(T job) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected java.util.Map<java.lang.Class<T>,JobProcessor<T>> jobHandlerMap
protected java.util.List<JobProcessor<T>> jobProcessorList
protected AsyncRunner asyncRunner
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionprotected JobProcessor<T> getProcessor(T job)