Class MissingWebServerFactoryBeanException

All Implemented Interfaces:
Serializable

public class MissingWebServerFactoryBeanException extends NoSuchBeanDefinitionException
Exception thrown when there is no WebServerFactory bean of the required type defined in a WebServerApplicationContext.
Since:
2.7.0
Author:
Guirong Hu, Andy Wilkinson
See Also:
  • Constructor Details

    • MissingWebServerFactoryBeanException

      public MissingWebServerFactoryBeanException(Class<? extends WebServerApplicationContext> webServerApplicationContextClass, Class<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType)
      Create a new MissingWebServerFactoryBeanException.
      Parameters:
      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
  • Method Details

    • getWebApplicationType

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