public class DubboBootstrapApplicationListener extends Object implements org.springframework.core.Ordered
ApplicationListener for DubboBootstrap's lifecycle when the ContextRefreshedEvent
and ContextClosedEvent raised| 限定符和类型 | 字段和说明 |
|---|---|
static String |
BEAN_NAME
The bean name of
DubboBootstrapApplicationListener |
| 构造器和说明 |
|---|
DubboBootstrapApplicationListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 static final String BEAN_NAME
DubboBootstrapApplicationListenerpublic void onApplicationContextEvent(org.springframework.context.event.ApplicationContextEvent event)
ApplicationContextEventevent - ApplicationContextEventpublic int getOrder()
getOrder 在接口中 org.springframework.core.Orderedpublic final void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListenerpublic final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.