public class MavenWebInfConfiguration extends WebInfConfiguration
Configuration.ClassList| Modifier and Type | Field and Description |
|---|---|
protected Resource |
_originalResourceBase |
protected List<Resource> |
_unpackedOverlayResources |
protected static int |
COUNTER |
_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERNATTR| Constructor and Description |
|---|
MavenWebInfConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(WebAppContext context)
Configure WebApp.
|
void |
deconfigure(WebAppContext context)
DeConfigure WebApp.
|
protected List<Resource> |
findClassDirs(WebAppContext context)
Add in the classes dirs from test/classes and target/classes
|
protected List<Resource> |
findJars(WebAppContext context)
Get the jars to examine from the files from which we have
synthesized the classpath.
|
void |
postConfigure(WebAppContext context)
Clear down after configuration.
|
void |
preConfigure(WebAppContext context)
Set up for configuration.
|
void |
unpack(WebAppContext context) |
protected Resource |
unpackOverlay(WebAppContext context,
Overlay overlay) |
cloneConfigure, configureTempDirectory, findExtraClasspathDirs, findExtraClasspathJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, resolveTempDirectorydestroyprotected static int COUNTER
protected Resource _originalResourceBase
public void configure(WebAppContext context) throws Exception
Configuration
Typically this step applies the discovered configuration resources to
either the WebAppContext or the associated MetaData.
configure in interface Configurationconfigure in class WebInfConfigurationcontext - The context to configureExceptionWebInfConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)public void preConfigure(WebAppContext context) throws Exception
ConfigurationTypically this step discovers configuration resources
preConfigure in interface ConfigurationpreConfigure in class WebInfConfigurationcontext - The context to configureExceptionWebInfConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)public void postConfigure(WebAppContext context) throws Exception
ConfigurationpostConfigure in interface ConfigurationpostConfigure in class AbstractConfigurationcontext - The context to configureExceptionAbstractConfiguration.postConfigure(org.eclipse.jetty.webapp.WebAppContext)public void deconfigure(WebAppContext context) throws Exception
Configurationdeconfigure in interface Configurationdeconfigure in class WebInfConfigurationcontext - The context to configureExceptionWebInfConfiguration.deconfigure(org.eclipse.jetty.webapp.WebAppContext)public void unpack(WebAppContext context) throws IOException
unpack in class WebInfConfigurationIOExceptionWebInfConfiguration.unpack(org.eclipse.jetty.webapp.WebAppContext)protected List<Resource> findJars(WebAppContext context) throws Exception
findJars in class WebInfConfigurationcontext - Exceptionprotected List<Resource> findClassDirs(WebAppContext context) throws Exception
findClassDirs in class WebInfConfigurationExceptionWebInfConfiguration.findClassDirs(org.eclipse.jetty.webapp.WebAppContext)protected Resource unpackOverlay(WebAppContext context, Overlay overlay) throws IOException
IOExceptionCopyright © 1995-2015 Webtide. All Rights Reserved.