23.10 Admin features
来源:互联网 发布:关于linux 的书籍 编辑:程序博客网 时间:2024/06/10 00:38
通过指定 spring.application.admin.enabled
属性,可以使行政相关的特点 。这暴露了在 MBeanServer
平台上的 SpringApplicationAdminMXBean 。可以使用此功能来远程管理Spring Boot程序。这对任何服务包装器实现也是有用的 。
- 如果你想知道,应用程序正在运行在哪个HTTP端口 ,可以通过local.server.port获取。
- 启用此功能时,作为MBean暴露的关机方法应用要注意
原文:
23.10 Admin features
It is possible to enable admin-related features for the application by specifying thespring.application.admin.enabled
property. This exposes theSpringApplicationAdminMXBean
on the platform MBeanServer
. You could use this feature to administer your Spring Bootapplication remotely. This could also be useful for any service wrapper implementation.
If you want to know on which HTTP port the application is running, get the propertywith keylocal.server.port
.
Take care when enabling this feature as the MBean exposes a method to shutdown theapplication.
没太看懂到底是干啥的,貌似可以用这个接口去实现一些管理发布的功能。,等哪天弄明白在回来修改。
- 23.10 Admin features
- Features
- Features
- Admin
- admin
- admin
- ActiveMq Features--- Consumer Features
- Assembling Features Reading Features
- ASProtect Features
- Bluetooth Features
- HttpClient Features
- SIFT features
- Window Features
- SIFT Features
- Ext4 features
- VBScript Features
- spring features
- Syncml Features
- 数据库链接
- Windows核心编程第一章笔记
- 处理Excel的类库主要有两种JXL 和POI和介绍.
- Linux C编程学习笔记(4):dup,dup2,fcntl系统调用
- LeetCode | 38. Count and Say
- 23.10 Admin features
- 公钥和私钥的区别
- Android Studio上传GitHub
- html5+css媒体查询、多列+精灵雪碧图
- 215. Kth Largest Element in an Array
- 淘淘商城系列——添加商品同步到索引库以及消息机制测试
- SpringBoot学习笔记-集成其他组件框架记录
- linux exercise 24
- Android JNI