public class DynamicConfigApplicationListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.cloud.endpoint.event.RefreshEvent>, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered
| 构造器和说明 |
|---|
DynamicConfigApplicationListener(org.springframework.cloud.context.refresh.ContextRefresher contextRefresher) |
DynamicConfigApplicationListener(org.springframework.cloud.context.refresh.ContextRefresher contextRefresher,
PropertyUtil propertyUtil) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.cloud.endpoint.event.RefreshEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public DynamicConfigApplicationListener(org.springframework.cloud.context.refresh.ContextRefresher contextRefresher)
public DynamicConfigApplicationListener(org.springframework.cloud.context.refresh.ContextRefresher contextRefresher,
PropertyUtil propertyUtil)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwarepublic void onApplicationEvent(org.springframework.cloud.endpoint.event.RefreshEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.cloud.endpoint.event.RefreshEvent>public int getOrder()
getOrder 在接口中 org.springframework.core.OrderedCopyright © 2020. All rights reserved.