Package org.eclipse.jetty.webapp
Class JettyWebXmlConfiguration
- 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.ClassList, Configuration.Wrapper, Configuration.WrapperFunction
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JETTY_WEB_XML
static java.lang.String
PROPERTY_THIS_WEB_INF_URL
Deprecated.static java.lang.String
PROPERTY_WEB_INF
static java.lang.String
PROPERTY_WEB_INF_URI
static java.lang.String
XML_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 void
configure(WebAppContext context)
Configure Apply web-jetty.xml configuration-
Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
cloneConfigure, deconfigure, destroy, postConfigure, preConfigure
-
-
-
-
Field Detail
-
PROPERTY_THIS_WEB_INF_URL
@Deprecated public static final java.lang.String PROPERTY_THIS_WEB_INF_URL
Deprecated.The value of this property points to the WEB-INF directory of the web-app currently installed. it is passed as a property to the jetty-web.xml file- See Also:
- Constant Field Values
-
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:
configure
in interfaceConfiguration
- Overrides:
configure
in classAbstractConfiguration
- Parameters:
context
- The context to configure- Throws:
java.lang.Exception
- if unable to configure- See Also:
Configuration.configure(WebAppContext)
-
-