Package org.eclipse.jetty.ant
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 interface org.eclipse.jetty.webapp.Configuration
Configuration.Wrapper, Configuration.WrapperFunction
-
Field Summary
Fields inherited from class org.eclipse.jetty.webapp.WebInfConfiguration
_preUnpackBaseResource, TEMPDIR_CONFIGURED, TEMPORARY_RESOURCE_BASE
Fields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(WebAppContext context) Adds classpath files into web application classloader, and sets web.xml and base directory for the configured web application.Class<? extends Configuration>
replaces()
Get a class that this class replaces/extends.Methods inherited from class org.eclipse.jetty.webapp.WebInfConfiguration
cloneConfigure, configureTempDirectory, deconfigure, getCanonicalNameForWebAppTmpDir, getResourceBaseName, makeTempDirectory, preConfigure, resolveTempDirectory, unpack
Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
abort, addDependencies, addDependencies, addDependents, addDependents, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, postConfigure, protect, protectAndExpose
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.webapp.Configuration
isAvailable
-
Constructor Details
-
AntWebInfConfiguration
public AntWebInfConfiguration()
-
-
Method Details
-
replaces
Description copied from interface:Configuration
Get a class that this class replaces/extends. If this is added toConfigurations
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
-
configure
Adds classpath files into web application classloader, and sets web.xml and base directory for the configured web application.- Specified by:
configure
in interfaceConfiguration
- Overrides:
configure
in classWebInfConfiguration
- Parameters:
context
- The context to configure- Throws:
Exception
- if unable to configure- See Also:
-