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:
org.eclipse.jetty.webapp.Configuration
public class QuickStartConfiguration extends org.eclipse.jetty.webapp.WebInfConfigurationQuickStartConfigurationRe-inflate a deployable webapp from a saved effective-web.xml which combines all pre-parsed web xml descriptors and annotations.
-
-
Constructor Summary
Constructors Constructor Description QuickStartConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.eclipse.jetty.webapp.WebAppContext context)org.eclipse.jetty.util.resource.ResourcegetQuickStartWebXml(org.eclipse.jetty.webapp.WebAppContext context)Get the quickstart-web.xml file as a Resource.voidpreConfigure(org.eclipse.jetty.webapp.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
-
-
-
-
Method Detail
-
preConfigure
public void preConfigure(org.eclipse.jetty.webapp.WebAppContext context) throws java.lang.Exception- Specified by:
preConfigurein interfaceorg.eclipse.jetty.webapp.Configuration- Overrides:
preConfigurein classorg.eclipse.jetty.webapp.WebInfConfiguration- Throws:
java.lang.Exception- See Also:
AbstractConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)
-
getQuickStartWebXml
public org.eclipse.jetty.util.resource.Resource getQuickStartWebXml(org.eclipse.jetty.webapp.WebAppContext context) throws java.lang.ExceptionGet 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(org.eclipse.jetty.webapp.WebAppContext context) throws java.lang.Exception- Specified by:
configurein interfaceorg.eclipse.jetty.webapp.Configuration- Overrides:
configurein classorg.eclipse.jetty.webapp.WebInfConfiguration- Throws:
java.lang.Exception- See Also:
AbstractConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)
-
-