public class QuickStartConfiguration extends WebInfConfiguration
Re-inflate a deployable webapp from a saved effective-web.xml which combines all pre-parsed web xml descriptors and annotations.
WebInfConfiguration.ContainerPathNameMatcher, WebInfConfiguration.WebAppPathNameMatcherConfiguration.ClassList_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERNATTR| Constructor and Description |
|---|
QuickStartConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(WebAppContext context)
Configure WebApp.
|
Resource |
getQuickStartWebXml(WebAppContext context)
Get the quickstart-web.xml file as a Resource.
|
void |
preConfigure(WebAppContext context)
Set up for configuration.
|
cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, resolveTempDirectory, unpackdestroy, postConfigurepublic void preConfigure(WebAppContext context) throws java.lang.Exception
ConfigurationTypically this step discovers configuration resources
preConfigure in interface ConfigurationpreConfigure in class WebInfConfigurationcontext - The context to configurejava.lang.Exception - if unable to pre configureAbstractConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)public Resource getQuickStartWebXml(WebAppContext context) throws java.lang.Exception
context - the web app contextjava.lang.Exception - if unable to find the quickstart xmlpublic void configure(WebAppContext context) throws java.lang.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 configurejava.lang.Exception - if unable to configureAbstractConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)Copyright © 1995–2022 Webtide. All rights reserved.