Class MavenWebInfConfiguration

All Implemented Interfaces:
Configuration

public class MavenWebInfConfiguration extends WebInfConfiguration
MavenWebInfConfiguration WebInfConfiguration to take account of overlaid wars expressed as project dependencies and potential configured via the maven-war-plugin.
  • Constructor Details

    • MavenWebInfConfiguration

      public MavenWebInfConfiguration()
  • 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
      Description copied from interface: Configuration
      Configure WebApp.

      Typically this step applies the discovered configuration resources to either the WebAppContext or the associated MetaData.

      Specified by:
      configure in interface Configuration
      Overrides:
      configure in class WebInfConfiguration
      Parameters:
      context - The context to configure
      Throws:
      Exception - if unable to configure