类 BeansEndpoint
- java.lang.Object
- org.springframework.boot.actuate.endpoint.AbstractEndpoint<List<Object>>
- org.springframework.boot.actuate.endpoint.BeansEndpoint
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,Endpoint<List<Object>>
,org.springframework.context.ApplicationContextAware
,org.springframework.context.EnvironmentAware
@ConfigurationProperties(prefix="endpoints.beans") public class BeansEndpoint extends AbstractEndpoint<List<Object>> implements org.springframework.context.ApplicationContextAware
Exposes JSON view of Spring beans. If theEnvironment
contains a key setting theLiveBeansView.MBEAN_DOMAIN_PROPERTY_NAME
then all application contexts in the JVM will be shown (and the corresponding MBeans will be registered per the standard behavior of LiveBeansView). Otherwise only the current application context hierarchy.
构造器概要
构造器 构造器 说明 BeansEndpoint()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Object>
invoke()
Called to invoke the endpoint.void
setApplicationContext(org.springframework.context.ApplicationContext context)
从类继承的方法 org.springframework.boot.actuate.endpoint.AbstractEndpoint
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitive
构造器详细资料
BeansEndpoint
public BeansEndpoint()
方法详细资料
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
- 指定者:
setApplicationContext
在接口中org.springframework.context.ApplicationContextAware
- 抛出:
org.springframework.beans.BeansException