public class MissingWebServerFactoryBeanException
extends org.springframework.beans.factory.NoSuchBeanDefinitionException
WebServerFactory bean of the required type
defined in a WebServerApplicationContext.| Constructor and Description |
|---|
MissingWebServerFactoryBeanException(java.lang.Class<? extends WebServerApplicationContext> webServerApplicationContextClass,
java.lang.Class<? extends WebServerFactory> webServerFactoryClass,
WebApplicationType webApplicationType)
Create a new
MissingWebServerFactoryBeanException. |
| Modifier and Type | Method and Description |
|---|---|
WebApplicationType |
getWebApplicationType()
Returns the type of web application for which a
WebServerFactory bean was
missing. |
getBeanName, getBeanType, getNumberOfBeansFound, getResolvableTypecontains, getMessage, getMostSpecificCause, getRootCausepublic MissingWebServerFactoryBeanException(java.lang.Class<? extends WebServerApplicationContext> webServerApplicationContextClass, java.lang.Class<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType)
MissingWebServerFactoryBeanException.webServerApplicationContextClass - the class of the
WebServerApplicationContext that required the WebServerFactorywebServerFactoryClass - the class of the WebServerFactory that was missingwebApplicationType - the type of the web applicationpublic WebApplicationType getWebApplicationType()
WebServerFactory bean was
missing.