public class AsyncHistoryExecutorStarter extends Object implements ApplicationListener<ContextRefreshedEvent>, Ordered, ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
activate |
protected ApplicationContext |
applicationContext |
protected AsyncExecutor |
asyncHistoryExecutor |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
AsyncHistoryExecutorStarter(boolean activate,
AsyncExecutor asyncHistoryExecutor) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(ContextRefreshedEvent event) |
void |
setApplicationContext(ApplicationContext applicationContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforPayloadprotected boolean activate
protected AsyncExecutor asyncHistoryExecutor
protected ApplicationContext applicationContext
public AsyncHistoryExecutorStarter(boolean activate,
AsyncExecutor asyncHistoryExecutor)
public void onApplicationEvent(ContextRefreshedEvent event)
onApplicationEvent in interface ApplicationListener<ContextRefreshedEvent>public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansException