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
public class QuickStartConfiguration extends WebInfConfiguration
QuickStartConfigurationRe-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
-
-
Field Summary
-
Fields 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 Constructor Description QuickStartConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(WebAppContext context)org.eclipse.jetty.util.resource.ResourcegetQuickStartWebXml(WebAppContext context)Get the quickstart-web.xml file as a Resource.voidpreConfigure(WebAppContext context)-
Methods inherited from class org.eclipse.jetty.webapp.WebInfConfiguration
cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, resolveTempDirectory, unpack
-
Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
destroy, postConfigure
-
-
-
-
Method Detail
-
preConfigure
public void preConfigure(WebAppContext context) throws Exception
- Specified by:
preConfigurein interfaceConfiguration- Overrides:
preConfigurein classWebInfConfiguration- Throws:
Exception- See Also:
AbstractConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)
-
getQuickStartWebXml
public org.eclipse.jetty.util.resource.Resource getQuickStartWebXml(WebAppContext context) throws Exception
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
public void configure(WebAppContext context) throws Exception
- Specified by:
configurein interfaceConfiguration- Overrides:
configurein classWebInfConfiguration- Throws:
Exception- See Also:
AbstractConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)
-
-