Package org.eclipse.jetty.webapp
Class JettyWebXmlConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.JettyWebXmlConfiguration
- All Implemented Interfaces:
Configuration
JettyWebConfiguration.
Looks for XmlConfiguration files in WEB-INF. Searches in order for the first of jetty8-web.xml, jetty-web.xml or web-jetty.xml
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.Wrapper, Configuration.WrapperFunction
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(WebAppContext context) Configure Apply web-jetty.xml configurationMethods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
abort, addDependencies, addDependencies, addDependents, addDependents, cloneConfigure, deconfigure, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, postConfigure, preConfigure, protect, protectAndExpose
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.webapp.Configuration
isAvailable, replaces
-
Field Details
-
PROPERTY_WEB_INF_URI
- See Also:
-
PROPERTY_WEB_INF
- See Also:
-
XML_CONFIGURATION
- See Also:
-
JETTY_WEB_XML
- See Also:
-
-
Constructor Details
-
JettyWebXmlConfiguration
public JettyWebXmlConfiguration()
-
-
Method Details
-
configure
Configure Apply web-jetty.xml configuration- Specified by:
configure
in interfaceConfiguration
- Overrides:
configure
in classAbstractConfiguration
- Parameters:
context
- The context to configure- Throws:
Exception
- if unable to configure- See Also:
-