Class QuickStartConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.WebInfConfiguration
org.eclipse.jetty.quickstart.QuickStartConfiguration
- All Implemented Interfaces:
Configuration
QuickStartConfiguration
Re-inflate a deployable webapp from a saved effective-web.xml which combines all pre-parsed web xml descriptors and annotations.
-
Nested Class Summary
Nested classes/interfaces inherited from class WebInfConfiguration
WebInfConfiguration.ContainerPathNameMatcher, WebInfConfiguration.WebAppPathNameMatcherNested classes/interfaces inherited from interface Configuration
Configuration.ClassList, Configuration.Wrapper, Configuration.WrapperFunction -
Field Summary
FieldsFields inherited from class WebInfConfiguration
_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERNFields inherited from interface Configuration
ATTR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(WebAppContext context) Configure WebApp.getQuickStartWebXml(WebAppContext context) Get the quickstart-web.xml file as a Resource.voidpreConfigure(WebAppContext context) Set up for configuration.Methods inherited from class WebInfConfiguration
cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, getResourceBaseName, makeTempDirectory, resolveTempDirectory, unpackMethods inherited from class AbstractConfiguration
destroy, postConfigure
-
Field Details
-
LOG
-
-
Constructor Details
-
QuickStartConfiguration
public QuickStartConfiguration()
-
-
Method Details
-
preConfigure
Description copied from interface:ConfigurationSet up for configuration.Typically this step discovers configuration resources
- Specified by:
preConfigurein interfaceConfiguration- Overrides:
preConfigurein classWebInfConfiguration- Parameters:
context- The context to configure- Throws:
Exception- if unable to pre configure- See Also:
-
getQuickStartWebXml
Get the quickstart-web.xml file as a Resource.- Parameters:
context- the web app context- Returns:
- the Resource for the quickstart-web.xml
- Throws:
Exception- if unable to find the quickstart xml
-
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- See Also:
-