类 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 the Environment contains a key setting the LiveBeansView.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.
    • 方法详细资料

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext context)
                                   throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        抛出:
        org.springframework.beans.BeansException