Class 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 Detail

      • LOG

        private static final Logger LOG
      • 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
    • Constructor Detail

      • JettyWebXmlConfiguration

        public JettyWebXmlConfiguration()
    • Method Detail

      • setupXmlConfiguration

        private void setupXmlConfiguration​(WebAppContext context,
                                           XmlConfiguration jettyConfig,
                                           Resource webInf)
                                    throws java.io.IOException
        Configures some well-known properties before the XmlConfiguration reads the configuration.
        Parameters:
        jettyConfig - The configuration object.
        webInf - the WEB-INF location
        Throws:
        java.io.IOException