Class AntWebInfConfiguration

All Implemented Interfaces:
Configuration

public class AntWebInfConfiguration extends WebInfConfiguration
  • Constructor Details

    • AntWebInfConfiguration

      public AntWebInfConfiguration()
  • Method Details

    • replaces

      public Class<? extends Configuration> replaces()
      Description copied from interface: Configuration
      Get a class that this class replaces/extends. If this is added to Configurations collection that already contains a configuration of the replaced class or that reports to replace the same class, then it is replaced with this instance.
      Returns:
      The class this Configuration replaces/extends or null if it replaces no other configuration
    • configure

      public void configure(WebAppContext context) throws Exception
      Adds classpath files into web application classloader, and sets web.xml and base directory for the configured web application.
      Specified by:
      configure in interface Configuration
      Overrides:
      configure in class WebInfConfiguration
      Parameters:
      context - The context to configure
      Throws:
      Exception - if unable to configure
      See Also: