|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.xml.AbsElement org.ow2.jonas.deployment.ejb.xml.JonasRunAsMapping
public class JonasRunAsMapping
This class defines the implementation of the element jonas-run-as-mapping It defines mapping between principal and list of roles
Constructor Summary | |
---|---|
JonasRunAsMapping()
Constructor |
Method Summary | |
---|---|
void |
addRoleName(String roleName)
Add a new role-name element to this object |
String |
getPrincipalName()
|
JLinkedList |
getRoleNamesList()
Gets the role-name |
void |
setPrincipalName(String principalName)
Sets the principal name |
String |
toXML(int indent)
Represents this element by it's XML description. |
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement |
---|
indent, toString, toXML, xmlAttribute, xmlElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JonasRunAsMapping()
Method Detail |
---|
public JLinkedList getRoleNamesList()
public void addRoleName(String roleName)
roleName
- the name of the rolepublic String getPrincipalName()
public void setPrincipalName(String principalName)
principalName
- name of the principal to set.public String toXML(int indent)
toXML
in interface Element
toXML
in class AbsElement
indent
- use this indent for prexifing XML representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |