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
- Direct Known Subclasses:
MavenQuickStartConfiguration
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, Configuration.Wrapper, Configuration.WrapperFunction
-
-
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 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.-
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
-
-
-
-
Method Detail
-
preConfigure
public void preConfigure(WebAppContext context) throws java.lang.Exception
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:
java.lang.Exception
- if unable to pre configure- See Also:
AbstractConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)
-
getQuickStartWebXml
public Resource getQuickStartWebXml(WebAppContext context) throws java.lang.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:
java.lang.Exception
- if unable to find the quickstart xml
-
configure
public void configure(WebAppContext context) throws java.lang.Exception
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:
java.lang.Exception
- if unable to configure- See Also:
AbstractConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)
-
-