|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.xml.AbsElement org.ow2.jonas.deployment.common.xml.AbsJonasEnvironmentElement org.ow2.jonas.deployment.web.xml.JonasWebApp
public class JonasWebApp
This class defines the implementation of the element jonas-web-app.
Field Summary | |
---|---|
static String |
JONAS_WEBAPP_ELEMENT
jonas-web-app element XML header |
Constructor Summary | |
---|---|
JonasWebApp()
Constructor : build a new WebApp object |
Method Summary | |
---|---|
void |
addJonasMessageDestination(JonasMessageDestination jonasMessageDestination)
Add a new jonas-message-destination element to this object |
void |
addServlet(JonasServlet jonasServlet)
Add a new servlet element to this object |
String |
getContextRoot()
|
String |
getHeader()
|
String |
getHost()
|
String |
getJava2DelegationModel()
|
JLinkedList |
getJonasMessageDestinationList()
|
String |
getPort()
|
JLinkedList |
getServletList()
|
void |
setContextRoot(String contextRoot)
Set the context-root element of this object |
void |
setHeader(String header)
|
void |
setHost(String host)
Set the host element of this object |
void |
setJava2DelegationModel(String java2DelegationModel)
Set the java 2 delegation model element of this object |
void |
setJonasMessageDestinationList(JLinkedList jonasMessageDestinationList)
Set the jonas-message-destination |
void |
setPort(String port)
Set the port element of this object |
void |
setServletList(JLinkedList servletList)
Set the servlet |
String |
toXML(int indent)
Represents this element by it's XML description. |
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsJonasEnvironmentElement |
---|
addJonasEjbRef, addJonasMessageDestinationRef, addJonasResource, addJonasResourceEnv, addJonasServiceRef, getJonasEjbRefList, getJonasMessageDestinationRefList, getJonasResourceEnvList, getJonasResourceList, getJonasServiceRefList |
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement |
---|
indent, toString, toXML, xmlAttribute, xmlElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String JONAS_WEBAPP_ELEMENT
Constructor Detail |
---|
public JonasWebApp()
Method Detail |
---|
public void setHost(String host)
host
- host element of this objectpublic void setContextRoot(String contextRoot)
contextRoot
- context-root element of this objectpublic void setPort(String port)
port
- port element of this objectpublic void setJava2DelegationModel(String java2DelegationModel)
java2DelegationModel
- java2-delegation-model element of this objectpublic void setJonasMessageDestinationList(JLinkedList jonasMessageDestinationList)
jonasMessageDestinationList
- jonasMessageDestinationpublic void setServletList(JLinkedList servletList)
servletList
- servletListpublic void addJonasMessageDestination(JonasMessageDestination jonasMessageDestination)
jonasMessageDestination
- the jonas-message-destination objectpublic void addServlet(JonasServlet jonasServlet)
jonasServlet
- the servlet objectpublic String getHost()
public String getContextRoot()
public String getPort()
public String getJava2DelegationModel()
public JLinkedList getJonasMessageDestinationList()
public JLinkedList getServletList()
public String toXML(int indent)
toXML
in interface Element
toXML
in class AbsElement
indent
- use this indent for prexifing XML representation.
public String getHeader()
public void setHeader(String header)
header
- The header to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |