public class DiscoverLocator extends Object implements org.noear.solon.core.bean.LifecycleBean, org.noear.solon.core.event.EventListener<org.noear.solon.cloud.model.Discovery>
| Constructor and Description |
|---|
DiscoverLocator(org.noear.solon.core.AppContext appContext,
DiscoverProperties discover) |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(org.noear.solon.cloud.model.Discovery discovery) |
protected void |
register(String serviceName)
注册
|
void |
start()
开始
|
protected void |
syncStatus(org.noear.solon.cloud.model.Discovery discovery)
同步状态
|
public DiscoverLocator(org.noear.solon.core.AppContext appContext,
DiscoverProperties discover)
public void start()
start in interface org.noear.solon.core.bean.LifecycleBeanstart in interface org.noear.solon.core.Lifecyclepublic void onEvent(org.noear.solon.cloud.model.Discovery discovery)
throws Throwable
onEvent in interface org.noear.solon.core.event.EventListener<org.noear.solon.cloud.model.Discovery>Throwableprotected void register(String serviceName)
Copyright © 2025. All rights reserved.