org.apache.catalina.deploy
Class ServletDef
java.lang.Object
org.apache.catalina.deploy.ServletDef
- All Implemented Interfaces:
- Serializable
public class ServletDef
- extends Object
- implements Serializable
Representation of a servlet definition for a web application, as represented
in a <servlet>
element in the deployment descriptor.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletDef
public ServletDef()
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getDisplayName
public String getDisplayName()
setDisplayName
public void setDisplayName(String displayName)
getSmallIcon
public String getSmallIcon()
setSmallIcon
public void setSmallIcon(String smallIcon)
getLargeIcon
public String getLargeIcon()
setLargeIcon
public void setLargeIcon(String largeIcon)
getServletName
public String getServletName()
setServletName
public void setServletName(String servletName)
getServletClass
public String getServletClass()
setServletClass
public void setServletClass(String servletClass)
getJspFile
public String getJspFile()
setJspFile
public void setJspFile(String jspFile)
getParameterMap
public Map<String,String> getParameterMap()
addInitParameter
public void addInitParameter(String name,
String value)
- Add an initialization parameter to the set of parameters associated
with this servlet.
- Parameters:
name
- The initialisation parameter namevalue
- The initialisation parameter value
getLoadOnStartup
public Integer getLoadOnStartup()
setLoadOnStartup
public void setLoadOnStartup(String loadOnStartup)
getRunAs
public String getRunAs()
setRunAs
public void setRunAs(String runAs)
getSecurityRoleRefs
public Set<SecurityRoleRef> getSecurityRoleRefs()
addSecurityRoleRef
public void addSecurityRoleRef(SecurityRoleRef securityRoleRef)
- Add a security-role-ref to the set of security-role-refs associated
with this servlet.
addSecurityRoleRef
@Deprecated
public void addSecurityRoleRef(String roleName,
String roleLink)
- Deprecated.
- Add a security-role-ref to the set of security-role-refs associated
with this servlet.
getMultipartDef
public MultipartDef getMultipartDef()
setMultipartDef
public void setMultipartDef(MultipartDef multipartDef)
getAsyncSupported
public Boolean getAsyncSupported()
setAsyncSupported
public void setAsyncSupported(String asyncSupported)
getEnabled
public Boolean getEnabled()
setEnabled
public void setEnabled(String enabled)
isOverridable
public boolean isOverridable()
setOverridable
public void setOverridable(boolean overridable)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.