|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.xml.AbsElement org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement org.objectweb.jonas_web.deployment.xml.WebApp
This class defines the implementation of the element web-app.
Constructor Summary | |
WebApp()
Constructor : build a new WebApp object |
Method Summary | |
void |
addSecurityConstraint(SecurityConstraint securityConstraint)
Add a new security constraint element to this object |
void |
addSecurityRole(SecurityRole securityRole)
Add a new security role element to this object |
void |
addServlet(Servlet servlet)
Add a new servlet element to this object |
void |
addServletMapping(ServletMapping servletMapping)
Add a new servlet-mapping element to this object |
int |
getJspConfigNumber()
|
int |
getLoginConfigNumber()
|
JLinkedList |
getSecurityConstraintList()
Gets the security-constraint |
JLinkedList |
getSecurityRoleList()
Gets the security-role |
JLinkedList |
getServletList()
|
JLinkedList |
getServletMappingList()
|
int |
getSessionConfigNumber()
|
void |
newJspConfig()
Count a new jsp config |
void |
newLoginConfig()
Count a new login-config |
void |
newSessionConfig()
Count a new jsp config |
void |
setSecurityConstraintList(JLinkedList securityConstraintList)
Set the security-constraint |
void |
setSecurityRoleList(JLinkedList securityRoleList)
Set the security-role |
java.lang.String |
toXML(int indent)
Represents this element by it's XML description. |
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement |
addEjbLocalRef, addEjbRef, addEnvEntry, addMessageDestinationRef, addResourceEnvRef, addResourceRef, addServiceRef, getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList |
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement |
getDescription, getDisplayName, getIcon, setDescription, setDisplayName, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon |
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 |
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.JndiEnvRefsGroupXml |
getEjbLocalRefList, getEjbRefList, getEnvEntryList, getMessageDestinationRefList, getResourceEnvRefList, getResourceRefList, getServiceRefList |
Methods inherited from interface org.objectweb.jonas_lib.deployment.xml.DescriptionGroupXml |
getDescription, getDisplayName, getIcon |
Constructor Detail |
public WebApp()
Method Detail |
public void addServlet(Servlet servlet)
servlet
- the servlet objectpublic void addServletMapping(ServletMapping servletMapping)
servletMapping
- the servlet-mapping objectpublic void setSecurityRoleList(JLinkedList securityRoleList)
securityRoleList
- securityRolepublic void addSecurityRole(SecurityRole securityRole)
securityRole
- security role objectpublic void setSecurityConstraintList(JLinkedList securityConstraintList)
securityConstraintList
- securityConstraintpublic void addSecurityConstraint(SecurityConstraint securityConstraint)
securityConstraint
- security constraint objectpublic JLinkedList getSecurityConstraintList()
public JLinkedList getSecurityRoleList()
public JLinkedList getServletList()
public JLinkedList getServletMappingList()
public void newJspConfig()
public void newLoginConfig()
public void newSessionConfig()
public java.lang.String toXML(int indent)
toXML
in interface Element
toXML
in class AbsElement
indent
- use this indent for prexifing XML representation.
public int getJspConfigNumber()
public int getLoginConfigNumber()
public int getSessionConfigNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |