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

List of all members.

Public Member Functions

 Servlet ()
void setServletName (String servletName)
void setServletClass (String servletClass)
void setJspFile (String jspFile)
void addSecurityRoleRef (SecurityRoleRef securityRoleRef)
void setSecurityRoleRefList (JLinkedList securityRoleRefList)
void setRunAs (RunAs runAs)
String getServletName ()
String getServletClass ()
String getJspFile ()
JLinkedList getSecurityRoleRefList ()
RunAs getRunAs ()
String toXML (int indent)

Detailed Description

This class defines the implementation of the element servlet Don't take into account nested element : icon, display-name, description, init-param, load-on-startup, run-as and security-role-ref Which are optional (web container implentation will parse it)
Author:
Florent Benoit

Definition at line 41 of file Servlet.java.


Constructor & Destructor Documentation

org.objectweb.jonas_web.deployment.xml.Servlet.Servlet  ) 
 

Constructor

Definition at line 72 of file Servlet.java.


Member Function Documentation

void org.objectweb.jonas_web.deployment.xml.Servlet.addSecurityRoleRef SecurityRoleRef  securityRoleRef  ) 
 

Add a new security-role-ref element to this object

Parameters:
securityRoleRef security-role-ref

Definition at line 109 of file Servlet.java.

String org.objectweb.jonas_web.deployment.xml.Servlet.getJspFile  ) 
 

Returns:
the jsp-file of the servlet

Definition at line 148 of file Servlet.java.

RunAs org.objectweb.jonas_web.deployment.xml.Servlet.getRunAs  ) 
 

Gets the run-as

Returns:
the run-as

Definition at line 165 of file Servlet.java.

JLinkedList org.objectweb.jonas_web.deployment.xml.Servlet.getSecurityRoleRefList  ) 
 

Gets the security-role-ref

Returns:
the security-role-ref

Definition at line 156 of file Servlet.java.

Referenced by org.objectweb.jonas_web.deployment.api.ServletDesc.ServletDesc().

String org.objectweb.jonas_web.deployment.xml.Servlet.getServletClass  ) 
 

Returns:
the class of the servlet

Definition at line 141 of file Servlet.java.

Referenced by org.objectweb.jonas_web.deployment.api.ServletDesc.getServletClass().

String org.objectweb.jonas_web.deployment.xml.Servlet.getServletName  ) 
 

Returns:
the name of the servlet

Definition at line 134 of file Servlet.java.

Referenced by org.objectweb.jonas_web.deployment.api.ServletDesc.getServletName(), and org.objectweb.jonas_web.deployment.api.WebContainerDeploymentDesc.WebContainerDeploymentDesc().

void org.objectweb.jonas_web.deployment.xml.Servlet.setJspFile String  jspFile  ) 
 

Sets the jsp-file of the servlet

Parameters:
jspFile jsp-file of the servlet

Definition at line 101 of file Servlet.java.

void org.objectweb.jonas_web.deployment.xml.Servlet.setRunAs RunAs  runAs  ) 
 

Set the run-as

Parameters:
runAs runAs

Definition at line 125 of file Servlet.java.

void org.objectweb.jonas_web.deployment.xml.Servlet.setSecurityRoleRefList JLinkedList  securityRoleRefList  ) 
 

Set the security-role-ref

Parameters:
securityRoleRefList securityRoleRef

Definition at line 117 of file Servlet.java.

void org.objectweb.jonas_web.deployment.xml.Servlet.setServletClass String  servletClass  ) 
 

Sets the class of the servlet

Parameters:
servletClass class of the servlet

Definition at line 93 of file Servlet.java.

void org.objectweb.jonas_web.deployment.xml.Servlet.setServletName String  servletName  ) 
 

Sets the name of the servlet

Parameters:
servletName name of the servlet

Definition at line 84 of file Servlet.java.

String org.objectweb.jonas_web.deployment.xml.Servlet.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 174 of file Servlet.java.

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

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