| java.lang.Object org.objectweb.jonas_lib.deployment.xml.AbsElement org.objectweb.jonas_web.deployment.xml.Servlet
Servlet | public class Servlet extends AbsElement (Code) | | 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 |
Constructor Summary | |
public | Servlet() |
Servlet | public Servlet()(Code) | | Constructor
|
addSecurityRoleRef | public void addSecurityRoleRef(SecurityRoleRef securityRoleRef)(Code) | | Add a new security-role-ref element to this object
Parameters: securityRoleRef - security-role-ref |
getJspFile | public String getJspFile()(Code) | | the jsp-file of the servlet |
getRunAs | public RunAs getRunAs()(Code) | | Gets the run-as
the run-as |
getSecurityRoleRefList | public JLinkedList getSecurityRoleRefList()(Code) | | Gets the security-role-ref
the security-role-ref |
getServletClass | public String getServletClass()(Code) | | the class of the servlet |
getServletName | public String getServletName()(Code) | | the name of the servlet |
setJspFile | public void setJspFile(String jspFile)(Code) | | Sets the jsp-file of the servlet
Parameters: jspFile - jsp-file of the servlet |
setRunAs | public void setRunAs(RunAs runAs)(Code) | | Set the run-as
Parameters: runAs - runAs |
setSecurityRoleRefList | public void setSecurityRoleRefList(JLinkedList securityRoleRefList)(Code) | | Set the security-role-ref
Parameters: securityRoleRefList - securityRoleRef |
setServletClass | public void setServletClass(String servletClass)(Code) | | Sets the class of the servlet
Parameters: servletClass - class of the servlet |
setServletName | public void setServletName(String servletName)(Code) | | Sets the name of the servlet
Parameters: servletName - name of the servlet |
toXML | public String toXML(int indent)(Code) | | Represents this element by it's XML description.
Parameters: indent - use this indent for prexifing XML representation. the XML description of this object. |
|
|