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