public class DiscoverLocator extends java.lang.Object implements LifecycleBean, EventListener<Discovery>
构造器和说明 |
---|
DiscoverLocator(AppContext appContext,
DiscoverProperties discover) |
限定符和类型 | 方法和说明 |
---|---|
void |
onEvent(Discovery discovery) |
protected void |
register(java.lang.String serviceName)
注册
|
void |
start()
开始
|
protected void |
syncStatus(Discovery discovery)
同步状态
|
public DiscoverLocator(AppContext appContext, DiscoverProperties discover)
public void start()
start
在接口中 LifecycleBean
start
在接口中 Lifecycle
public void onEvent(Discovery discovery) throws java.lang.Throwable
onEvent
在接口中 EventListener<Discovery>
java.lang.Throwable
protected void register(java.lang.String serviceName)
protected void syncStatus(Discovery discovery) throws java.lang.Throwable
java.lang.Throwable