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_BASE
Fields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(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, 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
-
MavenWebInfConfiguration
public MavenWebInfConfiguration()
-
-
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
Description copied from interface:Configuration
Configure WebApp.Typically this step applies the discovered configuration resources to either the
WebAppContext
or the associatedMetaData
.- Specified by:
configure
in interfaceConfiguration
- Overrides:
configure
in classWebInfConfiguration
- Parameters:
context
- The context to configure- Throws:
Exception
- if unable to configure
-