Class WebXmlConfiguration
java.lang.Object
org.eclipse.jetty.ee9.webapp.AbstractConfiguration
org.eclipse.jetty.ee9.webapp.WebXmlConfiguration
- All Implemented Interfaces:
- Configuration
Configure by parsing default web.xml and web.xml
- 
Nested Class SummaryNested classes/interfaces inherited from interface ConfigurationConfiguration.Wrapper, Configuration.WrapperFunction
- 
Field SummaryFields inherited from interface ConfigurationATTR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconfigure(WebAppContext context) Process web-default.xml, web.xml, override-web.xmlvoiddeconfigure(WebAppContext context) DeConfigure WebApp.protected ResourcefindWebXml(WebAppContext context) voidpreConfigure(WebAppContext context) Set up for configuration.Methods inherited from class AbstractConfigurationabort, addDependencies, addDependencies, addDependents, addDependents, cloneConfigure, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, postConfigure, protect, protectAndExposeMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigurationisAvailable, replaces
- 
Constructor Details- 
WebXmlConfigurationpublic WebXmlConfiguration()
 
- 
- 
Method Details- 
preConfigureDescription copied from interface:ConfigurationSet up for configuration.Typically this step discovers configuration resources. Calls to preConfigure may alter the Configurations configured on the WebAppContext, so long as configurations prior to this configuration are not altered. - Specified by:
- preConfigurein interface- Configuration
- Overrides:
- preConfigurein class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to pre configure
 
- 
configureProcess web-default.xml, web.xml, override-web.xml- Specified by:
- configurein interface- Configuration
- Overrides:
- configurein class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to configure
 
- 
findWebXml- Throws:
- IOException
- MalformedURLException
 
- 
deconfigureDescription copied from interface:ConfigurationDeConfigure WebApp. This method is called to undo all configuration done. This is called to allow the context to work correctly over a stop/start cycle- Specified by:
- deconfigurein interface- Configuration
- Overrides:
- deconfigurein class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to deconfigure
 
 
-