Package org.apache.openejb.jee
Class Servlet
- java.lang.Object
-
- org.apache.openejb.jee.Servlet
-
public class Servlet extends Object
web-common_3_0.xsdJava 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 minOccurs="0"> <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="enabled" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/> <element name="async-supported" type="{http://java.sun.com/xml/ns/javaee}true-falseType" 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"/> <element name="multipart-config" type="{http://java.sun.com/xml/ns/javaee}multipart-configType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanasyncSupportedprotected TextMapdescriptionprotected TextMapdisplayNameprotected Booleanenabledprotected LocalCollection<Icon>iconprotected Stringidprotected List<ParamValue>initParamprotected StringjspFileprotected IntegerloadOnStartupprotected MultipartConfigmultipartConfigprotected RunAsrunAsprotected List<SecurityRoleRef>securityRoleRefprotected StringservletClassprotected StringservletName
-
Constructor Summary
Constructors Constructor Description Servlet()
-
Method Summary
-
-
-
Field Detail
-
description
protected TextMap description
-
displayName
protected TextMap displayName
-
icon
protected LocalCollection<Icon> icon
-
servletName
protected String servletName
-
servletClass
protected String servletClass
-
jspFile
protected String jspFile
-
initParam
protected List<ParamValue> initParam
-
loadOnStartup
protected Integer loadOnStartup
-
enabled
protected Boolean enabled
-
asyncSupported
protected Boolean asyncSupported
-
runAs
protected RunAs runAs
-
securityRoleRef
protected List<SecurityRoleRef> securityRoleRef
-
multipartConfig
protected MultipartConfig multipartConfig
-
id
protected String id
-
-
Method Detail
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
addDescription
public void addDescription(Text text)
-
getDisplayNames
public Text[] getDisplayNames()
-
setDisplayNames
public void setDisplayNames(Text[] text)
-
getDisplayName
public String getDisplayName()
-
addDisplayName
public void addDisplayName(Text text)
-
getIcons
public Collection<Icon> getIcons()
-
getIcon
public Icon getIcon()
-
getServletName
public String getServletName()
-
setServletName
public void setServletName(String value)
-
getServletClass
public String getServletClass()
-
setServletClass
public void setServletClass(String value)
-
getJspFile
public String getJspFile()
-
setJspFile
public void setJspFile(String value)
-
getInitParam
public List<ParamValue> getInitParam()
-
getLoadOnStartup
public Integer getLoadOnStartup()
-
setLoadOnStartup
public void setLoadOnStartup(Integer value)
-
getAsyncSupported
public Boolean getAsyncSupported()
-
setAsyncSupported
public void setAsyncSupported(Boolean asyncSupported)
-
getEnabled
public Boolean getEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
getRunAs
public RunAs getRunAs()
-
setRunAs
public void setRunAs(RunAs value)
-
getSecurityRoleRef
public List<SecurityRoleRef> getSecurityRoleRef()
-
getMultipartConfig
public MultipartConfig getMultipartConfig()
-
setMultipartConfig
public void setMultipartConfig(MultipartConfig multipartConfig)
-
getId
public String getId()
-
setId
public void setId(String value)
-
-