@Component public class ApplicationRegistrationService extends Object
| Constructor and Description |
|---|
ApplicationRegistrationService() |
| Modifier and Type | Method and Description |
|---|---|
Application |
getCurrentApplication()
获取当前应用程序信息
|
boolean |
heartbeat()
向 Solon Admin Server 发送心跳
|
void |
register()
向 Solon Admin Server 注册当前应用程序
|
void |
unregister()
向 Solon Admin Server 注销
|
public Application getCurrentApplication()
public void register()
public void unregister()
public boolean heartbeat()
Copyright © 2025. All rights reserved.