类 ManagementContextResolver
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.ManagementContextResolver
public class ManagementContextResolver extends Object
Provides access to theApplicationContextbeing used to manage actuator endpoints.- 从以下版本开始:
- 1.3.0
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.context.ApplicationContextgetApplicationContext()Return the managementApplicationContext.MvcEndpointsgetMvcEndpoints()Return allMvcEndpointsfrom the management context.
方法详细资料
getMvcEndpoints
public MvcEndpoints getMvcEndpoints()
Return allMvcEndpointsfrom the management context.- 返回:
MvcEndpointsfrom the management context
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
Return the managementApplicationContext.- 返回:
- the management
ApplicationContext