xdoclet.web.vendor
Class JRunWebXmlSubTask
java.lang.Object
|
+--xdoclet.DocletSupport
|
+--xdoclet.SubTask
|
+--xdoclet.TemplateSubTask
|
+--xdoclet.XmlSubTask
|
+--xdoclet.web.vendor.JRunWebXmlSubTask
- All Implemented Interfaces:
- java.io.Serializable
- public class JRunWebXmlSubTask
- extends XmlSubTask
Generates jrun-web.xml deployment descriptor.
- Version:
- $Revision: 1.2 $
- Author:
- Dan Schaffer (dschaffer@macromedia.com)
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
compile
|
protected java.lang.String |
contextRoot
The Security Domain, defaults to "" because it is not included if not set in
the build.xml. |
protected java.lang.String |
loadSystemClassesFirst
|
protected java.lang.String |
reload
|
static java.lang.String |
SUBTASK_NAME
|
Method Summary |
java.lang.String |
getCompile()
Return the Compile setting. |
java.lang.String |
getContextRoot()
Return the Context Root of the web application. |
java.lang.String |
getLoadSystemClassesFirst()
Return the Load-System-Classes-First setting. |
java.lang.String |
getReload()
Return the Reload setting. |
java.lang.String |
getSubTaskName()
|
void |
setCompile(java.lang.String compile)
Set the Compile setting to either true or false. |
void |
setContextRoot(java.lang.String contextRoot)
Set the Context Root.. |
void |
setLoadSystemClassesFirst(java.lang.String loadSystemClassesFirst)
Set the LoadSystemClassesFirst setting to either true or false. |
void |
setReload(java.lang.String reload)
Set the Reload setting to either true or false. |
Methods inherited from class xdoclet.XmlSubTask |
copyAttributesFrom, engineFinished, getDtdFileName, getPublicId, getSchema, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdFileName, setPublicId, setSchema, setSystemId, setUseIds, setValidateXML, setXmlencoding, startProcess |
Methods inherited from class xdoclet.TemplateSubTask |
addPackageSubstitution, beanFile, engineStarted, execute, generateForClass, getDestinationFile, getEngine, getExtent, getGeneratedFileName, getHavingClassTag, getOfType, getPackageSubstitutions, getParser, getSubTaskClassName, getTemplateURL, init, isGuessGenerationNeeded, isPackageSubstitutionInheritanceSupported, isPrefixWithPackageStructure, javaFile, matchesGenerationRules, setDestinationFile, setEngine, setExtent, setExtentValue, setGuessGenerationNeeded, setHavingClassTag, setOfType, setPackageSubstitutionInheritanceSupported, setPackageSubstitutions, setParser, setPrefixWithPackageStructure, setSubTaskClassName, setTemplateFile, setTemplateURL, startEngine, validateOptions |
Methods inherited from class xdoclet.DocletSupport |
getCurrentClass, getCurrentConstructor, getCurrentField, getCurrentMethod, getCurrentPackage, getCurrentTag, isDocletGenerated, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentConstructor, setCurrentField, setCurrentMethod, setCurrentPackage, setCurrentTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUBTASK_NAME
public static final java.lang.String SUBTASK_NAME
contextRoot
protected java.lang.String contextRoot
- The Security Domain, defaults to "" because it is not included if not set in
the build.xml.
reload
protected java.lang.String reload
compile
protected java.lang.String compile
loadSystemClassesFirst
protected java.lang.String loadSystemClassesFirst
JRunWebXmlSubTask
public JRunWebXmlSubTask()
getSubTaskName
public java.lang.String getSubTaskName()
- Overrides:
getSubTaskName
in class TemplateSubTask
getContextRoot
public java.lang.String getContextRoot()
- Return the Context Root of the web application. This is where the webApp
will be installed in the browser (e.g. http://localhost:8100/contextRoot
- Returns:
- The Context Root
getReload
public java.lang.String getReload()
- Return the Reload setting. Determines whether to automatically reload
servlets, helper classes, jsp helper classes.
- Returns:
- reload setting either true or false
getCompile
public java.lang.String getCompile()
- Return the Compile setting. Determines whether to automatically compile
servlets
- Returns:
- compile setting either true or false
getLoadSystemClassesFirst
public java.lang.String getLoadSystemClassesFirst()
- Return the Load-System-Classes-First setting. Determines whether to load
system classpath first or app server classpath.
- Returns:
- loadSystemClassesFirst setting
setContextRoot
public void setContextRoot(java.lang.String contextRoot)
- Set the Context Root..
- Parameters:
contextRoot
- the new context root
setReload
public void setReload(java.lang.String reload)
- Set the Reload setting to either true or false.
- Parameters:
reload
- new reload value
setCompile
public void setCompile(java.lang.String compile)
- Set the Compile setting to either true or false.
- Parameters:
compile
- new compile value
setLoadSystemClassesFirst
public void setLoadSystemClassesFirst(java.lang.String loadSystemClassesFirst)
- Set the LoadSystemClassesFirst setting to either true or false.
- Parameters:
loadSystemClassesFirst
- new setting