public class SpaceXJobAnnotationBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.beans.factory.DisposableBean
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.springframework.context.ConfigurableApplicationContext |
applicationContext |
| 构造器和说明 |
|---|
SpaceXJobAnnotationBeanPostProcessor(String instanceName,
Boolean cluster) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected static org.springframework.context.ConfigurableApplicationContext applicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>Copyright © 2019. All rights reserved.