public class MavenWebInfConfiguration extends WebInfConfiguration
WebInfConfiguration.ContainerPathNameMatcher, WebInfConfiguration.WebAppPathNameMatcherConfiguration.ClassList_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERNATTR| Constructor and Description |
|---|
MavenWebInfConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(WebAppContext context)
Configure WebApp.
|
protected java.util.List<Resource> |
findClassDirs(WebAppContext context)
Add in the classes dirs from test/classes and target/classes
|
protected java.util.List<Resource> |
findJars(WebAppContext context)
Get the jars to examine from the files from which we have
synthesized the classpath.
|
cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findExtraClasspathDirs, findExtraClasspathJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, preConfigure, resolveTempDirectory, unpackdestroy, postConfigurepublic void configure(WebAppContext context) throws java.lang.Exception
Configuration
Typically this step applies the discovered configuration resources to
either the WebAppContext or the associated MetaData.
configure in interface Configurationconfigure in class WebInfConfigurationcontext - The context to configurejava.lang.Exception - if unable to configureWebInfConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)protected java.util.List<Resource> findJars(WebAppContext context) throws java.lang.Exception
findJars in class WebInfConfigurationcontext - the web app contextjava.lang.Exception - if unable to find the jarsprotected java.util.List<Resource> findClassDirs(WebAppContext context) throws java.lang.Exception
findClassDirs in class WebInfConfigurationjava.lang.ExceptionWebInfConfiguration.findClassDirs(org.eclipse.jetty.webapp.WebAppContext)Copyright © 1995–2021 Webtide. All rights reserved.