|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface 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/javaee}descriptionGroup"/>
<element name="servlet-name" type="{http://java.sun.com/xml/ns/javaee}servlet-nameType"/>
<choice>
<element name="servlet-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="jsp-file" type="{http://java.sun.com/xml/ns/javaee}jsp-fileType"/>
</choice>
<element name="init-param" type="{http://java.sun.com/xml/ns/javaee}param-valueType" maxOccurs="unbounded" minOccurs="0"/>
<element name="load-on-startup" type="{http://java.sun.com/xml/ns/javaee}load-on-startupType" minOccurs="0"/>
<element name="run-as" type="{http://java.sun.com/xml/ns/javaee}run-asType" minOccurs="0"/>
<element name="security-role-ref" type="{http://java.sun.com/xml/ns/javaee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Detail |
|---|
DescriptionType[] getDescription()
DescriptionTypeDescriptionType getDescription(int idx)
DescriptionTypeint getDescriptionLength()
void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypeDisplayNameType[] getDisplayName()
DisplayNameTypeDisplayNameType getDisplayName(int idx)
DisplayNameTypeint getDisplayNameLength()
void setDisplayName(DisplayNameType[] values)
values - allowed objects are
DisplayNameType
DisplayNameType setDisplayName(int idx,
DisplayNameType value)
value - allowed object is
DisplayNameTypeIconType[] getIcon()
IconTypeIconType getIcon(int idx)
IconTypeint getIconLength()
void setIcon(IconType[] values)
values - allowed objects are
IconType
IconType setIcon(int idx,
IconType value)
value - allowed object is
IconTypeServletNameType getServletName()
ServletNameTypevoid setServletName(ServletNameType value)
value - allowed object is
ServletNameTypeFullyQualifiedClassType getServletClass()
FullyQualifiedClassTypevoid setServletClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeJspFileType getJspFile()
JspFileTypevoid setJspFile(JspFileType value)
value - allowed object is
JspFileTypeParamValueType[] getInitParam()
ParamValueTypeParamValueType getInitParam(int idx)
ParamValueTypeint getInitParamLength()
void setInitParam(ParamValueType[] values)
values - allowed objects are
ParamValueType
ParamValueType setInitParam(int idx,
ParamValueType value)
value - allowed object is
ParamValueTypeString getLoadOnStartup()
Stringvoid setLoadOnStartup(String value)
value - allowed object is
StringRunAsType getRunAs()
RunAsTypevoid setRunAs(RunAsType value)
value - allowed object is
RunAsTypeSecurityRoleRefType[] getSecurityRoleRef()
SecurityRoleRefTypeSecurityRoleRefType getSecurityRoleRef(int idx)
SecurityRoleRefTypeint getSecurityRoleRefLength()
void setSecurityRoleRef(SecurityRoleRefType[] values)
values - allowed objects are
SecurityRoleRefType
SecurityRoleRefType setSecurityRoleRef(int idx,
SecurityRoleRefType value)
value - allowed object is
SecurityRoleRefTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||