org.objectweb.jonas_web.deployment.xml.WebApp Class Reference

List of all members.

Public Member Functions

 WebApp ()
void addServlet (Servlet servlet)
void addServletMapping (ServletMapping servletMapping)
void setSecurityRoleList (JLinkedList securityRoleList)
void addSecurityRole (SecurityRole securityRole)
void setSecurityConstraintList (JLinkedList securityConstraintList)
void addSecurityConstraint (SecurityConstraint securityConstraint)
JLinkedList getSecurityConstraintList ()
JLinkedList getSecurityRoleList ()
JLinkedList getServletList ()
JLinkedList getServletMappingList ()
void newJspConfig ()
void newLoginConfig ()
void newSessionConfig ()
String toXML (int indent)
int getJspConfigNumber ()
int getLoginConfigNumber ()
int getSessionConfigNumber ()

Detailed Description

This class defines the implementation of the element web-app.
Author:
Florent Benoit

Definition at line 39 of file WebApp.java.


Constructor & Destructor Documentation

org.objectweb.jonas_web.deployment.xml.WebApp.WebApp  ) 
 

Constructor : build a new WebApp object

Definition at line 79 of file WebApp.java.


Member Function Documentation

void org.objectweb.jonas_web.deployment.xml.WebApp.addSecurityConstraint SecurityConstraint  securityConstraint  ) 
 

Add a new security constraint element to this object

Parameters:
securityConstraint security constraint object

Definition at line 131 of file WebApp.java.

void org.objectweb.jonas_web.deployment.xml.WebApp.addSecurityRole SecurityRole  securityRole  ) 
 

Add a new security role element to this object

Parameters:
securityRole security role object

Definition at line 115 of file WebApp.java.

void org.objectweb.jonas_web.deployment.xml.WebApp.addServlet Servlet  servlet  ) 
 

Add a new servlet element to this object

Parameters:
servlet the servlet object

Definition at line 91 of file WebApp.java.

void org.objectweb.jonas_web.deployment.xml.WebApp.addServletMapping ServletMapping  servletMapping  ) 
 

Add a new servlet-mapping element to this object

Parameters:
servletMapping the servlet-mapping object

Definition at line 99 of file WebApp.java.

int org.objectweb.jonas_web.deployment.xml.WebApp.getJspConfigNumber  ) 
 

Returns:
the jspConfigNumber.

Definition at line 245 of file WebApp.java.

int org.objectweb.jonas_web.deployment.xml.WebApp.getLoginConfigNumber  ) 
 

Returns:
the loginConfigNumber.

Definition at line 252 of file WebApp.java.

JLinkedList org.objectweb.jonas_web.deployment.xml.WebApp.getSecurityConstraintList  ) 
 

Gets the security-constraint

Returns:
the security-constraint

Definition at line 141 of file WebApp.java.

JLinkedList org.objectweb.jonas_web.deployment.xml.WebApp.getSecurityRoleList  ) 
 

Gets the security-role

Returns:
the security-role

Definition at line 149 of file WebApp.java.

JLinkedList org.objectweb.jonas_web.deployment.xml.WebApp.getServletList  ) 
 

Returns:
the list of all servlet elements

Definition at line 156 of file WebApp.java.

JLinkedList org.objectweb.jonas_web.deployment.xml.WebApp.getServletMappingList  ) 
 

Returns:
the list of all servlet-mapping elements

Definition at line 163 of file WebApp.java.

int org.objectweb.jonas_web.deployment.xml.WebApp.getSessionConfigNumber  ) 
 

Returns:
the sessionConfigNumber.

Definition at line 259 of file WebApp.java.

void org.objectweb.jonas_web.deployment.xml.WebApp.newJspConfig  ) 
 

Count a new jsp config

Definition at line 170 of file WebApp.java.

void org.objectweb.jonas_web.deployment.xml.WebApp.newLoginConfig  ) 
 

Count a new login-config

Definition at line 177 of file WebApp.java.

void org.objectweb.jonas_web.deployment.xml.WebApp.newSessionConfig  ) 
 

Count a new jsp config

Definition at line 184 of file WebApp.java.

void org.objectweb.jonas_web.deployment.xml.WebApp.setSecurityConstraintList JLinkedList  securityConstraintList  ) 
 

Set the security-constraint

Parameters:
securityConstraintList securityConstraint

Definition at line 123 of file WebApp.java.

void org.objectweb.jonas_web.deployment.xml.WebApp.setSecurityRoleList JLinkedList  securityRoleList  ) 
 

Set the security-role

Parameters:
securityRoleList securityRole

Definition at line 107 of file WebApp.java.

String org.objectweb.jonas_web.deployment.xml.WebApp.toXML int  indent  ) 
 

Represents this element by it's XML description.

Parameters:
indent use this indent for prexifing XML representation.
Returns:
the XML description of this object.

Definition at line 193 of file WebApp.java.

References org.objectweb.jonas_lib.deployment.xml.JLinkedList.toString(), and org.objectweb.jonas_lib.deployment.xml.JLinkedList.toXML().

Referenced by org.objectweb.jonas_web.deployment.tests.WebDeploymentTest.parse().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:13:32 2005 for JOnAS by  doxygen 1.3.9.1