Package org.eclipse.jetty.maven.plugin
Class MavenWebInfConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.WebInfConfiguration
org.eclipse.jetty.maven.plugin.MavenWebInfConfiguration
- All Implemented Interfaces:
Configuration
MavenWebInfConfiguration
WebInfConfiguration to take account of overlaid wars expressed as project dependencies and
potential configured via the maven-war-plugin.
-
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) Configure WebApp.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
-
MavenWebInfConfiguration
public MavenWebInfConfiguration()
-
-
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
Description copied from interface:ConfigurationConfigure WebApp.Typically this step applies the discovered configuration resources to either the
WebAppContextor the associatedMetaData.- Specified by:
configurein interfaceConfiguration- Overrides:
configurein classWebInfConfiguration- Parameters:
context- The context to configure- Throws:
Exception- if unable to configure
-