public class DubboBootstrapApplicationListener extends Object implements org.springframework.core.Ordered
ApplicationListener for DubboBootstrap's lifecycle when the ContextRefreshedEvent
and ContextClosedEvent raised| Constructor and Description |
|---|
DubboBootstrapApplicationListener() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
int |
getOrder() |
void |
onApplicationContextEvent(org.springframework.context.event.ApplicationContextEvent event)
The subclass overrides this method to handle
ApplicationContextEvent |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void onApplicationContextEvent(org.springframework.context.event.ApplicationContextEvent event)
ApplicationContextEventevent - ApplicationContextEventpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic final void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListenerpublic final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.