Class AntWebInfConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.WebInfConfiguration
org.eclipse.jetty.ant.AntWebInfConfiguration
- All Implemented Interfaces:
Configuration
-
Nested Class Summary
Nested classes/interfaces inherited from class WebInfConfiguration
WebInfConfiguration.ContainerPathNameMatcher, WebInfConfiguration.WebAppPathNameMatcherNested classes/interfaces inherited from interface Configuration
Configuration.ClassList, Configuration.Wrapper, Configuration.WrapperFunction -
Field Summary
Fields inherited from class WebInfConfiguration
_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERNFields inherited from interface Configuration
ATTR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(WebAppContext context) Adds classpath files into web application classloader, and sets web.xml and base directory for the configured web application.voidpreConfigure(WebAppContext context) Set up for configuration.Methods inherited from class WebInfConfiguration
cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, getResourceBaseName, makeTempDirectory, resolveTempDirectory, unpackMethods inherited from class AbstractConfiguration
destroy, postConfigure
-
Constructor Details
-
AntWebInfConfiguration
public AntWebInfConfiguration()
-
-
Method Details
-
preConfigure
Description copied from interface:ConfigurationSet up for configuration.Typically this step discovers configuration resources
- Specified by:
preConfigurein interfaceConfiguration- Overrides:
preConfigurein classWebInfConfiguration- Parameters:
context- The context to configure- Throws:
Exception- if unable to pre configure
-
configure
Adds classpath files into web application classloader, and sets web.xml and base directory for the configured web application.- Specified by:
configurein interfaceConfiguration- Overrides:
configurein classWebInfConfiguration- Parameters:
context- The context to configure- Throws:
Exception- if unable to configure- See Also:
-