@EnableAsync public class ConsulRefreshEventListener extends Object implements IConsulRefreshEventListener, org.springframework.beans.factory.config.BeanPostProcessor
构造器和说明 |
---|
ConsulRefreshEventListener() |
限定符和类型 | 方法和说明 |
---|---|
void |
asyncInvoke(ConfigChangeCallback configChangeCallback,
String entryKey,
Object lastValue,
Object currentValue) |
void |
handle(org.springframework.boot.context.event.ApplicationReadyEvent event) |
void |
handle(ConsulRefreshEvent event) |
Object |
postProcessAfterInitialization(Object o,
String s) |
Object |
postProcessBeforeInitialization(Object o,
String s) |
void |
syncInvoke(ConfigChangeCallback configChangeCallback,
String entryKey,
Object lastValue,
Object currentValue) |
@EventListener public void handle(org.springframework.boot.context.event.ApplicationReadyEvent event)
handle
在接口中 IConsulRefreshEventListener
@EventListener public void handle(ConsulRefreshEvent event)
handle
在接口中 IConsulRefreshEventListener
@Async public void asyncInvoke(ConfigChangeCallback configChangeCallback, String entryKey, Object lastValue, Object currentValue)
asyncInvoke
在接口中 IConsulRefreshEventListener
public void syncInvoke(ConfigChangeCallback configChangeCallback, String entryKey, Object lastValue, Object currentValue)
syncInvoke
在接口中 IConsulRefreshEventListener
public Object postProcessBeforeInitialization(Object o, String s) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
在接口中 org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.