xdoclet.modules.objectweb.jonas.web

Class JonasWebSubTask

public class JonasWebSubTask extends XmlSubTask

Generates the web application deployment descriptor for JOnAS.

Version: $Revision: 1.1 $

Author: Andrew Stevens

UNKNOWN: 03 October 2002 display-name = "JOnAS" name = "jonaswebxml" parent = "xdoclet.modules.web.WebDocletTask"

Nested Class Summary
static classJonasWebSubTask.JonasVersionTypes
JonasVersionTypes class.
Constructor Summary
JonasWebSubTask()
Constructor.
Method Summary
voidexecute()
StringgetContextroot()
Return the Context Root.
StringgetHost()
Return the Host.
StringgetVersion()
Gets the version attribute.
voidsetContextroot(String contextRoot)
The context-root element specifies the context root for the web application.
voidsetHost(String host)
The host element specifies the name of host used for deploy the web application.
voidsetVersion(JonasWebSubTask.JonasVersionTypes version)
Sets the version of JOnAS.

Constructor Detail

JonasWebSubTask

public JonasWebSubTask()
Constructor.

Method Detail

execute

public void execute()

getContextroot

public String getContextroot()
Return the Context Root.

Returns: The Context Root value

getHost

public String getHost()
Return the Host.

Returns: The Host value

getVersion

public String getVersion()
Gets the version attribute.

Returns: The version value.

setContextroot

public void setContextroot(String contextRoot)
The context-root element specifies the context root for the web application.

Parameters: contextRoot The new Context Root value

UNKNOWN:

setHost

public void setHost(String host)
The host element specifies the name of host used for deploy the web application.

Parameters: host The new Host value

UNKNOWN:

setVersion

public void setVersion(JonasWebSubTask.JonasVersionTypes version)
Sets the version of JOnAS. Supported versions are: 2.6.

Parameters: version The new version value. Supported versions are: 2.6.

UNKNOWN: No,defaultis "2.6".