|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.jonas_lib.deployment.xml.AbsElement
org.objectweb.jonas_web.deployment.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 |
java.lang.String |
getJspFile()
|
RunAs |
getRunAs()
Gets the run-as |
JLinkedList |
getSecurityRoleRefList()
Gets the security-role-ref |
java.lang.String |
getServletClass()
|
java.lang.String |
getServletName()
|
void |
setJspFile(java.lang.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(java.lang.String servletClass)
Sets the class of the servlet |
void |
setServletName(java.lang.String servletName)
Sets the name of the servlet |
java.lang.String |
toXML(int indent)
Represents this element by it's XML description. |
| 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 |
| Constructor Detail |
|---|
public Servlet()
| Method Detail |
|---|
public void setServletName(java.lang.String servletName)
servletName - name of the servletpublic void setServletClass(java.lang.String servletClass)
servletClass - class of the servletpublic void setJspFile(java.lang.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 java.lang.String getServletName()
public java.lang.String getServletClass()
public java.lang.String getJspFile()
public JLinkedList getSecurityRoleRefList()
public RunAs getRunAs()
public java.lang.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 | ||||||||