public interface Servlet extends ComponentInterface
Important note: Do not provide an implementation of this interface unless you are a DD API provider!
Modifier and Type | Method and Description |
---|---|
int |
addInitParam(InitParam valueInterface)
Adds init-param element.
|
int |
addSecurityRoleRef(SecurityRoleRef valueInterface)
Adds security-role-ref element.
|
InitParam[] |
getInitParam()
Getter for init-param elements.
|
InitParam |
getInitParam(int index)
Getter for init-param element.
|
String |
getJspFile()
Getter for jsp-file property.
|
BigInteger |
getLoadOnStartup()
Getter for load-on-startup property.
|
RunAs |
getRunAs()
Getter for run-as element.
|
SecurityRoleRef[] |
getSecurityRoleRef()
Getter for security-role-ref elements.
|
SecurityRoleRef |
getSecurityRoleRef(int index)
Getter for security-role-ref element.
|
String |
getServletClass()
Getter for servlet-class property.
|
String |
getServletName()
Getter for servlet-name property.
|
int |
removeInitParam(InitParam valueInterface)
Removes init-param element.
|
int |
removeSecurityRoleRef(SecurityRoleRef valueInterface)
Removes security-role-ref element.
|
void |
setInitParam(InitParam[] value)
Setter for init-param elements.
|
void |
setInitParam(int index,
InitParam valueInterface)
Setter for init-param element.
|
void |
setJspFile(String value)
Setter for jsp-file property.
|
void |
setLoadOnStartup(BigInteger value)
Setter for load-on-startup property.
|
void |
setRunAs(RunAs valueInterface)
Setter for run-as element.
|
void |
setSecurityRoleRef(int index,
SecurityRoleRef valueInterface)
Setter for security-role-ref element.
|
void |
setSecurityRoleRef(SecurityRoleRef[] value)
Setter for security-role-ref elements.
|
void |
setServletClass(String value)
Setter for servlet-class property.
|
void |
setServletName(String value)
Setter for servlet-name property.
|
int |
sizeInitParam()
Returns size of init-param elements.
|
int |
sizeSecurityRoleRef()
Returns size of security-role-ref elements.
|
addPropertyChangeListener, clone, getId, getValue, removePropertyChangeListener, setId, write
getAllDescriptions, getDefaultDescription, getDescription, removeAllDescriptions, removeDescription, removeDescriptionForLocale, setAllDescriptions, setDescription, setDescription
getAllDisplayNames, getDefaultDisplayName, getDisplayName, removeAllDisplayNames, removeDisplayName, removeDisplayNameForLocale, setAllDisplayNames, setDisplayName, setDisplayName
addBean, addBean, createBean
findBeanByName
getAllIcons, getDefaultIcon, getLargeIcon, getLargeIcon, getSmallIcon, getSmallIcon, removeAllIcons, removeIcon, removeIcon, removeLargeIcon, removeLargeIcon, removeSmallIcon, removeSmallIcon, setAllIcons, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
void setServletName(String value)
value
- property valueString getServletName()
void setServletClass(String value)
value
- property valueString getServletClass()
void setJspFile(String value)
value
- property valueString getJspFile()
void setInitParam(int index, InitParam valueInterface)
index
- position in the array of elementsvalueInterface
- init-param element (InitParam object)InitParam getInitParam(int index)
index
- position in the array of elementsvoid setInitParam(InitParam[] value)
value
- array of init-param elements (InitParam objects)InitParam[] getInitParam()
int sizeInitParam()
int addInitParam(InitParam valueInterface)
valueInterface
- init-param element (InitParam object)int removeInitParam(InitParam valueInterface)
valueInterface
- init-param element (InitParam object)void setLoadOnStartup(BigInteger value)
value
- property valueBigInteger getLoadOnStartup()
void setRunAs(RunAs valueInterface)
valueInterface
- run-as element (RunAs object)RunAs getRunAs()
void setSecurityRoleRef(int index, SecurityRoleRef valueInterface)
index
- position in the array of elementsvalueInterface
- security-role-ref element (SecurityRoleRef object)SecurityRoleRef getSecurityRoleRef(int index)
index
- position in the array of elementsvoid setSecurityRoleRef(SecurityRoleRef[] value)
value
- array of security-role-ref elements (SecurityRoleRef objects)SecurityRoleRef[] getSecurityRoleRef()
int sizeSecurityRoleRef()
int addSecurityRoleRef(SecurityRoleRef valueInterface)
valueInterface
- security-role-ref element (SecurityRoleRef object)int removeSecurityRoleRef(SecurityRoleRef valueInterface)
valueInterface
- security-role-ref element (SecurityRoleRef object)