类 MissingWebServerFactoryBeanException

所有已实现的接口:
Serializable

public class MissingWebServerFactoryBeanException extends NoSuchBeanDefinitionException
Exception thrown when there is no WebServerFactory bean of the required type defined in a WebServerApplicationContext.
从以下版本开始:
2.7.0
作者:
Guirong Hu, Andy Wilkinson
另请参阅:
  • 构造器详细资料

    • MissingWebServerFactoryBeanException

      public MissingWebServerFactoryBeanException(Class<? extends WebServerApplicationContext> webServerApplicationContextClass, Class<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType)
      Create a new MissingWebServerFactoryBeanException.
      参数:
      webServerApplicationContextClass - the class of the WebServerApplicationContext that required the WebServerFactory
      webServerFactoryClass - the class of the WebServerFactory that was missing
      webApplicationType - the type of the web application
  • 方法详细资料

    • getWebApplicationType

      public WebApplicationType getWebApplicationType()
      Returns the type of web application for which a WebServerFactory bean was missing.
      返回:
      the type of web application