public class MavenQuickStartConfiguration extends QuickStartConfiguration
Configuration.ClassList
_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERN
ATTR
Constructor and Description |
---|
MavenQuickStartConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(WebAppContext context)
Configure WebApp.
|
void |
deconfigure(WebAppContext context)
DeConfigure WebApp.
|
Resource |
getQuickStartWebXml(WebAppContext context)
Get the quickstart-web.xml file as a Resource.
|
void |
preConfigure(WebAppContext context)
Set up for configuration.
|
void |
setQuickStartWebXml(Resource r) |
cloneConfigure, configureTempDirectory, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, resolveTempDirectory, unpack
destroy, postConfigure
public void setQuickStartWebXml(Resource r)
public Resource getQuickStartWebXml(WebAppContext context) throws Exception
QuickStartConfiguration
getQuickStartWebXml
in class QuickStartConfiguration
context
- the web app contextException
- if unable to find the quickstart xmlpublic void preConfigure(WebAppContext context) throws Exception
Configuration
Typically this step discovers configuration resources
preConfigure
in interface Configuration
preConfigure
in class QuickStartConfiguration
context
- The context to configureException
- if unable to pre configureAbstractConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)
public void configure(WebAppContext context) throws Exception
Configuration
Typically this step applies the discovered configuration resources to
either the WebAppContext
or the associated MetaData
.
configure
in interface Configuration
configure
in class QuickStartConfiguration
context
- The context to configureException
- if unable to configureAbstractConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)
public void deconfigure(WebAppContext context) throws Exception
Configuration
deconfigure
in interface Configuration
deconfigure
in class WebInfConfiguration
context
- The context to configureException
- if unable to deconfigureCopyright © 1995–2017 Webtide. All rights reserved.