public class NacosContextRefresher extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
static AtomicLong |
loadCount |
| Constructor and Description |
|---|
NacosContextRefresher(NacosRefreshProperties refreshProperties,
NacosRefreshHistory refreshHistory,
com.alibaba.nacos.api.config.ConfigService configService) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public static final AtomicLong loadCount
public NacosContextRefresher(NacosRefreshProperties refreshProperties, NacosRefreshHistory refreshHistory, com.alibaba.nacos.api.config.ConfigService configService)
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwareCopyright © 2018 Pivotal Software, Inc.. All rights reserved.