|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.http.webxml.schema.version_2_4.ServletType
public class ServletType
The servletType is used to declare a servlet. It contains the declarative data of a servlet. If a jsp-file is specified and the load-on-startup element is present, then the JSP should be precompiled and loaded. Used in: web-app
Java class for servletType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="servletType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/j2ee}descriptionGroup"/> <element name="servlet-name" type="{http://java.sun.com/xml/ns/j2ee}servlet-nameType"/> <choice> <element name="servlet-class" type="{http://java.sun.com/xml/ns/j2ee}fully-qualified-classType"/> <element name="jsp-file" type="{http://java.sun.com/xml/ns/j2ee}jsp-fileType"/> </choice> <element name="init-param" type="{http://java.sun.com/xml/ns/j2ee}param-valueType" maxOccurs="unbounded" minOccurs="0"/> <element name="load-on-startup" type="{http://java.sun.com/xml/ns/j2ee}xsdIntegerType" minOccurs="0"/> <element name="run-as" type="{http://java.sun.com/xml/ns/j2ee}run-asType" minOccurs="0"/> <element name="security-role-ref" type="{http://java.sun.com/xml/ns/j2ee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<DescriptionType> |
description
|
protected List<DisplayNameType> |
displayName
|
protected List<IconType> |
icon
|
protected String |
id
|
protected List<ParamValueType> |
initParam
|
protected JspFileType |
jspFile
|
protected XsdIntegerType |
loadOnStartup
|
protected RunAsType |
runAs
|
protected List<SecurityRoleRefType> |
securityRoleRef
|
protected FullyQualifiedClassType |
servletClass
|
protected ServletNameType |
servletName
|
Constructor Summary | |
---|---|
ServletType()
|
Method Summary | |
---|---|
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property. |
List<IconType> |
getIcon()
Gets the value of the icon property. |
String |
getId()
Gets the value of the id property. |
List<ParamValueType> |
getInitParam()
Gets the value of the initParam property. |
JspFileType |
getJspFile()
Gets the value of the jspFile property. |
XsdIntegerType |
getLoadOnStartup()
Gets the value of the loadOnStartup property. |
RunAsType |
getRunAs()
Gets the value of the runAs property. |
List<SecurityRoleRefType> |
getSecurityRoleRef()
Gets the value of the securityRoleRef property. |
FullyQualifiedClassType |
getServletClass()
Gets the value of the servletClass property. |
ServletNameType |
getServletName()
Gets the value of the servletName property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setJspFile(JspFileType value)
Sets the value of the jspFile property. |
void |
setLoadOnStartup(XsdIntegerType value)
Sets the value of the loadOnStartup property. |
void |
setRunAs(RunAsType value)
Sets the value of the runAs property. |
void |
setServletClass(FullyQualifiedClassType value)
Sets the value of the servletClass property. |
void |
setServletName(ServletNameType value)
Sets the value of the servletName property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<DescriptionType> description
protected List<DisplayNameType> displayName
protected List<IconType> icon
protected ServletNameType servletName
protected FullyQualifiedClassType servletClass
protected JspFileType jspFile
protected List<ParamValueType> initParam
protected XsdIntegerType loadOnStartup
protected RunAsType runAs
protected List<SecurityRoleRefType> securityRoleRef
protected String id
Constructor Detail |
---|
public ServletType()
Method Detail |
---|
public List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public List<DisplayNameType> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
public List<IconType> getIcon()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
public ServletNameType getServletName()
ServletNameType
public void setServletName(ServletNameType value)
value
- allowed object is
ServletNameType
public FullyQualifiedClassType getServletClass()
FullyQualifiedClassType
public void setServletClass(FullyQualifiedClassType value)
value
- allowed object is
FullyQualifiedClassType
public JspFileType getJspFile()
JspFileType
public void setJspFile(JspFileType value)
value
- allowed object is
JspFileType
public List<ParamValueType> getInitParam()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the initParam property.
For example, to add a new item, do as follows:
getInitParam().add(newItem);
Objects of the following type(s) are allowed in the list
ParamValueType
public XsdIntegerType getLoadOnStartup()
XsdIntegerType
public void setLoadOnStartup(XsdIntegerType value)
value
- allowed object is
XsdIntegerType
public RunAsType getRunAs()
RunAsType
public void setRunAs(RunAsType value)
value
- allowed object is
RunAsType
public List<SecurityRoleRefType> getSecurityRoleRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the securityRoleRef property.
For example, to add a new item, do as follows:
getSecurityRoleRef().add(newItem);
Objects of the following type(s) are allowed in the list
SecurityRoleRefType
public String getId()
String
public void setId(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |