类 EndpointWebMvcAutoConfiguration

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.context.ApplicationContextAware

    @Configuration
    @ConditionalOnClass({javax.servlet.Servlet.class,org.springframework.web.servlet.DispatcherServlet.class})
    @ConditionalOnWebApplication
    public class EndpointWebMvcAutoConfiguration
    extends Object
    implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.SmartInitializingSingleton
    Auto-configuration to enable Spring MVC to handle Endpoint requests. If the ManagementServerProperties specifies a different port to ServerProperties a new child context is created, otherwise it is assumed that endpoint requests will be mapped and handled via an already registered DispatcherServlet.
    • 方法详细资料

      • setApplicationContext

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

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
        指定者:
        setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAware
        抛出:
        org.springframework.beans.BeansException
      • afterSingletonsInstantiated

        public void afterSingletonsInstantiated()
        指定者:
        afterSingletonsInstantiated 在接口中 org.springframework.beans.factory.SmartInitializingSingleton