public class SpringYarnAnnotationPostProcessor extends java.lang.Object implements BeanPostProcessor, BeanFactoryAware, InitializingBean, Lifecycle, ApplicationListener<ApplicationEvent>
BeanPostProcessor implementation that processes method-level
annotations such as @OnContainerStart.| Constructor and Description |
|---|
SpringYarnAnnotationPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
boolean |
isRunning() |
void |
onApplicationEvent(ApplicationEvent event) |
java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
start() |
void |
stop() |
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory in interface BeanFactoryAwarepublic void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanpublic java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName)
throws BeansException
postProcessBeforeInitialization in interface BeanPostProcessorBeansExceptionpublic java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName)
throws BeansException
postProcessAfterInitialization in interface BeanPostProcessorBeansExceptionpublic void onApplicationEvent(ApplicationEvent event)
onApplicationEvent in interface ApplicationListener<ApplicationEvent>