public class EBusBeanAutoConfiguration extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.context.ApplicationContextAware
ApplicationListener implementation that finds beans registered in the current
ApplicationContext that look like a .annotations.EListener bean and interrogates it for event handling methods.| Modifier and Type | Class and Description |
|---|---|
protected static class |
EBusBeanAutoConfiguration.Invoker |
protected static class |
EBusBeanAutoConfiguration.ServiceConsumer |
| Constructor and Description |
|---|
EBusBeanAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) |
protected Object |
parseSelector(EventHandler eventHandlerAnnotation,
Object bean,
Method method) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>protected Object parseSelector(EventHandler eventHandlerAnnotation, Object bean, Method method)
Copyright © 2022 CrafterCMS. All rights reserved.