Class AntMetaInfConfiguration

    • Constructor Detail

      • AntMetaInfConfiguration

        public AntMetaInfConfiguration()
    • Method Detail

      • replaces

        public java.lang.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 java.lang.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:
        java.lang.Exception