Class WebXmlConfiguration

  • All Implemented Interfaces:
    Configuration

    @Deprecated(since="2021-05-27")
    public class WebXmlConfiguration
    extends AbstractConfiguration
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Configure by parsing default web.xml and web.xml
    • Constructor Detail

      • WebXmlConfiguration

        public WebXmlConfiguration()
        Deprecated.
    • Method Detail

      • preConfigure

        public void preConfigure​(WebAppContext context)
                          throws java.lang.Exception
        Deprecated.
        Description copied from interface: Configuration
        Set up for configuration.

        Typically this step discovers configuration resources

        Specified by:
        preConfigure in interface Configuration
        Overrides:
        preConfigure in class AbstractConfiguration
        Parameters:
        context - The context to configure
        Throws:
        java.lang.Exception - if unable to pre configure
      • configure

        public void configure​(WebAppContext context)
                       throws java.lang.Exception
        Deprecated.
        Process web-default.xml, web.xml, override-web.xml
        Specified by:
        configure in interface Configuration
        Overrides:
        configure in class AbstractConfiguration
        Parameters:
        context - The context to configure
        Throws:
        java.lang.Exception - if unable to configure
      • deconfigure

        public void deconfigure​(WebAppContext context)
                         throws java.lang.Exception
        Deprecated.
        Description copied from interface: Configuration
        DeConfigure 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:
        deconfigure in interface Configuration
        Overrides:
        deconfigure in class AbstractConfiguration
        Parameters:
        context - The context to configure
        Throws:
        java.lang.Exception - if unable to deconfigure