Package org.eclipse.jetty.ant
Class AntMetaInfConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.MetaInfConfiguration
org.eclipse.jetty.ant.AntMetaInfConfiguration
- All Implemented Interfaces:
Configuration
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.webapp.MetaInfConfiguration
MetaInfConfiguration.ContainerPathNameMatcher, MetaInfConfiguration.WebAppPathNameMatcherNested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.Wrapper, Configuration.WrapperFunction -
Field Summary
Fields inherited from class org.eclipse.jetty.webapp.MetaInfConfiguration
__allScanTypes, CACHED_CONTAINER_FRAGMENTS, CACHED_CONTAINER_RESOURCES, CACHED_CONTAINER_TLDS, CONTAINER_JAR_PATTERN, DEFAULT_USE_CONTAINER_METAINF_CACHE, METAINF_FRAGMENTS, METAINF_RESOURCES, METAINF_TLDS, RESOURCE_DIRS, USE_CONTAINER_METAINF_CACHE, WEBINF_JAR_PATTERNFields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindAndFilterContainerPaths(WebAppContext context) Find jars and directories that are on the container's classpath and apply an optional filter.getAllContainerJars(WebAppContext context) Class<? extends Configuration>replaces()Get a class that this class replaces/extends.Methods inherited from class org.eclipse.jetty.webapp.MetaInfConfiguration
configure, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getTlds, getTlds, postConfigure, preConfigure, scanForFragment, scanForResources, scanForTlds, scanJars, scanJars, scanJarsMethods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
abort, addDependencies, addDependencies, addDependents, addDependents, cloneConfigure, deconfigure, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, protect, protectAndExposeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.webapp.Configuration
isAvailable
-
Constructor Details
-
AntMetaInfConfiguration
public AntMetaInfConfiguration()
-
-
Method Details
-
replaces
Description copied from interface:ConfigurationGet a class that this class replaces/extends. If this is added toConfigurationscollection 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
Description copied from class:MetaInfConfigurationFind 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:
findAndFilterContainerPathsin classMetaInfConfiguration- Parameters:
context- the WebAppContext being deployed- Throws:
Exception
-
getAllContainerJars
- Overrides:
getAllContainerJarsin classMetaInfConfiguration- Throws:
URISyntaxException
-