|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.deployment.common.xml.AbsElement
org.ow2.jonas.deployment.web.xml.Servlet
public class Servlet
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)
| Constructor Summary | |
|---|---|
Servlet()
Constructor |
|
| Method Summary | |
|---|---|
void |
addSecurityRoleRef(SecurityRoleRef securityRoleRef)
Add a new security-role-ref element to this object |
String |
getJspFile()
|
RunAs |
getRunAs()
Gets the run-as |
JLinkedList |
getSecurityRoleRefList()
Gets the security-role-ref |
String |
getServletClass()
|
String |
getServletName()
|
void |
setJspFile(String jspFile)
Sets the jsp-file of the servlet |
void |
setRunAs(RunAs runAs)
Set the run-as |
void |
setSecurityRoleRefList(JLinkedList securityRoleRefList)
Set the security-role-ref |
void |
setServletClass(String servletClass)
Sets the class of the servlet |
void |
setServletName(String servletName)
Sets the name of the servlet |
String |
toXML(int indent)
Represents this element by it's XML description. |
| 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 |
| Constructor Detail |
|---|
public Servlet()
| Method Detail |
|---|
public void setServletName(String servletName)
servletName - name of the servletpublic void setServletClass(String servletClass)
servletClass - class of the servletpublic void setJspFile(String jspFile)
jspFile - jsp-file of the servletpublic void addSecurityRoleRef(SecurityRoleRef securityRoleRef)
securityRoleRef - security-role-refpublic void setSecurityRoleRefList(JLinkedList securityRoleRefList)
securityRoleRefList - securityRoleRefpublic void setRunAs(RunAs runAs)
runAs - runAspublic String getServletName()
public String getServletClass()
public String getJspFile()
public JLinkedList getSecurityRoleRefList()
public RunAs getRunAs()
public String toXML(int indent)
toXML in interface ElementtoXML in class AbsElementindent - use this indent for prexifing XML representation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||