Class AntMetaInfConfiguration

All Implemented Interfaces:
Configuration

public class AntMetaInfConfiguration extends MetaInfConfiguration
  • Constructor Details

    • AntMetaInfConfiguration

      public AntMetaInfConfiguration()
  • 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
    • findAndFilterContainerPaths

      public void findAndFilterContainerPaths(WebAppContext context) throws Exception
      Description copied from class: MetaInfConfiguration
      Find jars and directories that are on the container's classpath and apply an optional filter. The filter is a pattern applied to the full jar or directory names. If there is no pattern, then no jar or dir is considered to match. Those jars that do match will be later examined for META-INF information and annotations. To find them, examine the classloaders in the hierarchy above the webapp classloader that are URLClassLoaders. For jdk-9 we also look at the java.class.path, and the jdk.module.path.
      Overrides:
      findAndFilterContainerPaths in class MetaInfConfiguration
      Parameters:
      context - the WebAppContext being deployed
      Throws:
      Exception
    • getAllContainerJars

      protected List<URI> getAllContainerJars(WebAppContext context) throws URISyntaxException
      Overrides:
      getAllContainerJars in class MetaInfConfiguration
      Throws:
      URISyntaxException