org.apache.openejb.jee
Class Servlet

java.lang.Object
  extended by org.apache.openejb.jee.Servlet

public class Servlet
extends Object

web-common_3_0.xsd

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 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
protected  Boolean asyncSupported
           
protected  TextMap description
           
protected  TextMap displayName
           
protected  Boolean enabled
           
protected  LocalCollection<Icon> icon
           
protected  String id
           
protected  List<ParamValue> initParam
           
protected  String jspFile
           
protected  Integer loadOnStartup
           
protected  MultipartConfig multipartConfig
           
protected  RunAs runAs
           
protected  List<SecurityRoleRef> securityRoleRef
           
protected  String servletClass
           
protected  String servletName
           
 
Constructor Summary
Servlet()
           
 
Method Summary
 void addDescription(Text text)
           
 void addDisplayName(Text text)
           
 Boolean getAsyncSupported()
           
 String getDescription()
           
 Text[] getDescriptions()
           
 String getDisplayName()
           
 Text[] getDisplayNames()
           
 Boolean getEnabled()
           
 Icon getIcon()
           
 Map<String,Icon> getIconMap()
           
 Collection<Icon> getIcons()
           
 String getId()
           
 List<ParamValue> getInitParam()
           
 String getJspFile()
           
 Integer getLoadOnStartup()
           
 MultipartConfig getMultipartConfig()
           
 RunAs getRunAs()
           
 List<SecurityRoleRef> getSecurityRoleRef()
           
 String getServletClass()
           
 String getServletName()
           
 void setAsyncSupported(Boolean asyncSupported)
           
 void setDescriptions(Text[] text)
           
 void setDisplayNames(Text[] text)
           
 void setEnabled(Boolean enabled)
           
 void setId(String value)
           
 void setJspFile(String value)
           
 void setLoadOnStartup(Integer value)
           
 void setMultipartConfig(MultipartConfig multipartConfig)
           
 void setRunAs(RunAs value)
           
 void setServletClass(String value)
           
 void setServletName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

Servlet

public Servlet()
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()

getIconMap

public Map<String,Icon> getIconMap()

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)


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.