Package org.eclipse.jetty.quickstart
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 org.eclipse.jetty.webapp.WebInfConfiguration
WebInfConfiguration.ContainerPathNameMatcher, WebInfConfiguration.WebAppPathNameMatcher
Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.ClassList, Configuration.Wrapper, Configuration.WrapperFunction
-
Field Summary
FieldsFields inherited from class org.eclipse.jetty.webapp.WebInfConfiguration
_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERN
Fields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(WebAppContext context) Configure WebApp.getQuickStartWebXml
(WebAppContext context) Get the quickstart-web.xml file as a Resource.void
preConfigure
(WebAppContext context) Set up for configuration.Methods inherited from class org.eclipse.jetty.webapp.WebInfConfiguration
cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, getResourceBaseName, makeTempDirectory, resolveTempDirectory, unpack
Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
destroy, postConfigure
-
Field Details
-
LOG
-
-
Constructor Details
-
QuickStartConfiguration
public QuickStartConfiguration()
-
-
Method Details
-
preConfigure
Description copied from interface:Configuration
Set up for configuration.Typically this step discovers configuration resources
- Specified by:
preConfigure
in interfaceConfiguration
- Overrides:
preConfigure
in 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: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- See Also:
-