org.objectweb.jonas_ejb.deployment.xml.JonasRunAsMapping Class Reference

List of all members.

Public Member Functions

 JonasRunAsMapping ()
JLinkedList getRoleNamesList ()
void addRoleName (String roleName)
String getPrincipalName ()
void setPrincipalName (String principalName)
String toXML (int indent)

Detailed Description

This class defines the implementation of the element jonas-run-as-mapping It defines mapping between principal and list of roles
Author:
Florent Benoit

Definition at line 38 of file JonasRunAsMapping.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.deployment.xml.JonasRunAsMapping.JonasRunAsMapping  ) 
 

Constructor

Definition at line 53 of file JonasRunAsMapping.java.


Member Function Documentation

void org.objectweb.jonas_ejb.deployment.xml.JonasRunAsMapping.addRoleName String  roleName  ) 
 

Add a new role-name element to this object

Parameters:
roleName the name of the role

Definition at line 70 of file JonasRunAsMapping.java.

String org.objectweb.jonas_ejb.deployment.xml.JonasRunAsMapping.getPrincipalName  ) 
 

Returns:
the principal Name.

Definition at line 77 of file JonasRunAsMapping.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.DeploymentDesc().

JLinkedList org.objectweb.jonas_ejb.deployment.xml.JonasRunAsMapping.getRoleNamesList  ) 
 

Gets the role-name

Returns:
the role-name

Definition at line 62 of file JonasRunAsMapping.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.DeploymentDesc().

void org.objectweb.jonas_ejb.deployment.xml.JonasRunAsMapping.setPrincipalName String  principalName  ) 
 

Sets the principal name

Parameters:
principalName name of the principal to set.

Definition at line 85 of file JonasRunAsMapping.java.

String org.objectweb.jonas_ejb.deployment.xml.JonasRunAsMapping.toXML int  indent  ) 
 

Represents this element by it's XML description.

Parameters:
indent use this indent for prexifing XML representation.
Returns:
the XML description of this object.

Definition at line 94 of file JonasRunAsMapping.java.

References org.objectweb.jonas_lib.deployment.xml.JLinkedList.toString(), and org.objectweb.jonas_lib.deployment.xml.JLinkedList.toXML().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:39 2005 for JOnAS by  doxygen 1.3.9.1