|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee5.RunAsTypeImpl<T>
public class RunAsTypeImpl<T>
This class implements the run-asType
xsd type
Original Documentation:
The run-asType specifies the run-as identity to be
used for the execution of a component. It contains an
optional description, and the name of a security role.
Constructor Summary | |
---|---|
RunAsTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
RunAsTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getRoleName()
Returns the role-name element |
RunAsType<T> |
removeAllDescription()
Removes the description element |
RunAsType<T> |
removeRoleName()
Removes the role-name element |
RunAsType<T> |
setDescription(java.lang.String description)
Creates a new description element |
RunAsType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
RunAsType<T> |
setRoleName(java.lang.String roleName)
If not already created, a new role-name element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RunAsTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public RunAsTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public RunAsType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface RunAsType<T>
RunAsType
public RunAsType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface RunAsType<T>
list
- of description
objects
RunAsType
public RunAsType<T> removeAllDescription()
description
element
removeAllDescription
in interface RunAsType<T>
RunAsType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface RunAsType<T>
description
public RunAsType<T> setRoleName(java.lang.String roleName)
role-name
element with the given value will be created.
Otherwise, the existing role-name
element will be updated with the given value.
setRoleName
in interface RunAsType<T>
RunAsType
public RunAsType<T> removeRoleName()
role-name
element
removeRoleName
in interface RunAsType<T>
RunAsType
public java.lang.String getRoleName()
role-name
element
getRoleName
in interface RunAsType<T>
role-name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |