public class MissingWebServerFactoryBeanException extends NoSuchBeanDefinitionException
WebServerFactory bean of the required type
defined in a WebServerApplicationContext.| Constructor and Description |
|---|
MissingWebServerFactoryBeanException(Class<? extends WebServerApplicationContext> webServerApplicationContextClass,
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, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MissingWebServerFactoryBeanException(Class<? extends WebServerApplicationContext> webServerApplicationContextClass, 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.