|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServletType<T>
This interface defines the contract for the servletType
xsd type
Method Summary | |
---|---|
ServletSecurityType<ServletType<T>> |
getOrCreateServletSecurity()
If not already created, a new servlet-security element with the given value will be created. |
String |
getRunAsPrincipal()
Returns the run-as-principal element |
String |
getServletName()
Returns the servlet-name element |
ServletType<T> |
removeRunAsPrincipal()
Removes the run-as-principal element |
ServletType<T> |
removeServletName()
Removes the servlet-name element |
ServletType<T> |
removeServletSecurity()
Removes the servlet-security element |
ServletType<T> |
runAsPrincipal(String runAsPrincipal)
Sets the run-as-principal element |
ServletType<T> |
servletName(String servletName)
Sets the servlet-name element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ServletType<T> servletName(String servletName)
servlet-name
element
servletName
- the value for the element servlet-name
ServletType
String getServletName()
servlet-name
element
servlet-name
ServletType<T> removeServletName()
servlet-name
element
ServletType
ServletType<T> runAsPrincipal(String runAsPrincipal)
run-as-principal
element
runAsPrincipal
- the value for the element run-as-principal
ServletType
String getRunAsPrincipal()
run-as-principal
element
run-as-principal
ServletType<T> removeRunAsPrincipal()
run-as-principal
element
ServletType
ServletSecurityType<ServletType<T>> getOrCreateServletSecurity()
servlet-security
element with the given value will be created.
Otherwise, the existing servlet-security
element will be returned.
ServletSecurityType>
ServletType<T> removeServletSecurity()
servlet-security
element
ServletType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |