- java.lang.Object
-
- org.eclipse.jetty.webapp.AbstractConfiguration
-
- org.eclipse.jetty.webapp.JettyWebXmlConfiguration
-
- All Implemented Interfaces:
Configuration
public class JettyWebXmlConfiguration extends AbstractConfiguration
JettyWebConfiguration. Looks for XmlConfiguration files in WEB-INF. Searches in order for the first of jetty6-web.xml, jetty-web.xml or web-jetty.xml
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJETTY_WEB_XMLstatic java.lang.StringPROPERTY_WEB_INFstatic java.lang.StringPROPERTY_WEB_INF_URIstatic java.lang.StringXML_CONFIGURATION-
Fields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR
-
-
Constructor Summary
Constructors Constructor Description JettyWebXmlConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(WebAppContext context)Configure Apply web-jetty.xml configuration-
Methods 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 Detail
-
PROPERTY_WEB_INF_URI
public static final java.lang.String PROPERTY_WEB_INF_URI
- See Also:
- Constant Field Values
-
PROPERTY_WEB_INF
public static final java.lang.String PROPERTY_WEB_INF
- See Also:
- Constant Field Values
-
XML_CONFIGURATION
public static final java.lang.String XML_CONFIGURATION
- See Also:
- Constant Field Values
-
JETTY_WEB_XML
public static final java.lang.String JETTY_WEB_XML
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public void configure(WebAppContext context) throws java.lang.Exception
Configure Apply web-jetty.xml configuration- Specified by:
configurein interfaceConfiguration- Overrides:
configurein classAbstractConfiguration- Parameters:
context- The context to configure- Throws:
java.lang.Exception- if unable to configure- See Also:
Configuration.configure(WebAppContext)
-
-