org.objectweb.jonas_web.deployment.xml
Class JonasWebApp

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.xml.AbsElement
      extended byorg.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
          extended byorg.objectweb.jonas_web.deployment.xml.JonasWebApp
All Implemented Interfaces:
Element, JonasJndiEnvRefsGroupXml, java.io.Serializable, TopLevelElement

public class JonasWebApp
extends AbsJonasEnvironmentElement
implements TopLevelElement

This class defines the implementation of the element jonas-web-app.

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
JonasWebApp()
          Constructor : build a new WebApp object
 
Method Summary
 java.lang.String getContextRoot()
           
 java.lang.String getHost()
           
 java.lang.String getJava2DelegationModel()
           
 java.lang.String getPort()
           
 void setContextRoot(java.lang.String contextRoot)
          Set the context-root element of this object
 void setHost(java.lang.String host)
          Set the host element of this object
 void setJava2DelegationModel(java.lang.String java2DelegationModel)
          Set the java 2 delegation model element of this object
 void setPort(java.lang.String port)
          Set the port element of this object
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsJonasEnvironmentElement
addJonasEjbRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JonasWebApp

public JonasWebApp()
Constructor : build a new WebApp object

Method Detail

setHost

public void setHost(java.lang.String host)
Set the host element of this object

Parameters:
host - host element of this object

setContextRoot

public void setContextRoot(java.lang.String contextRoot)
Set the context-root element of this object

Parameters:
contextRoot - context-root element of this object

setPort

public void setPort(java.lang.String port)
Set the port element of this object

Parameters:
port - port element of this object

setJava2DelegationModel

public void setJava2DelegationModel(java.lang.String java2DelegationModel)
Set the java 2 delegation model element of this object

Parameters:
java2DelegationModel - java2-delegation-model element of this object

getHost

public java.lang.String getHost()
Returns:
the host element

getContextRoot

public java.lang.String getContextRoot()
Returns:
the context-root element

getPort

public java.lang.String getPort()
Returns:
the port element

getJava2DelegationModel

public java.lang.String getJava2DelegationModel()
Returns:
the java2-delegation-model element

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.