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_BASEFields inherited from interface org.eclipse.jetty.webapp.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.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, unpackMethods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
abort, addDependencies, addDependencies, addDependents, addDependents, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, postConfigure, 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
-
AntWebInfConfiguration
public AntWebInfConfiguration()
-
-
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
-
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:
-