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, getResolvableType
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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.