public class QuickStartDescriptorGenerator extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_extraXML |
protected WebAppContext |
_webApp |
static String |
DEFAULT_QUICKSTART_DESCRIPTOR_NAME |
Constructor and Description |
---|
QuickStartDescriptorGenerator(WebAppContext w,
String extraXML) |
Modifier and Type | Method and Description |
---|---|
void |
generateQuickStartWebXml(OutputStream stream)
Perform the generation of the xml file
|
Map<String,String> |
origin(MetaData md,
String name)
Find the origin (web.xml, fragment, annotation etc) of a web artifact from MetaData.
|
public static final String DEFAULT_QUICKSTART_DESCRIPTOR_NAME
protected WebAppContext _webApp
protected String _extraXML
public QuickStartDescriptorGenerator(WebAppContext w, String extraXML)
w
- the source WebAppContextextraXML
- any extra xml snippet to appendpublic void generateQuickStartWebXml(OutputStream stream) throws FileNotFoundException, IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.