org.ow2.jonas.deployment.ear.xml
Class JonasSecurity

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.ear.xml.JonasSecurity
All Implemented Interfaces:
Serializable, Element

public class JonasSecurity
extends AbsElement

This class defines the implementation of the element jonas-security

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
JonasSecurity()
          Constructor
 
Method Summary
 void addSecurityRoleMapping(SecurityRoleMapping securityRoleMapping)
          Add a new security-role-mapping element to this object
 JLinkedList getSecurityRoleMappingList()
          Gets the security-role-mapping
 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

JonasSecurity

public JonasSecurity()
Constructor

Method Detail

getSecurityRoleMappingList

public JLinkedList getSecurityRoleMappingList()
Gets the security-role-mapping

Returns:
the security-role-mapping

addSecurityRoleMapping

public void addSecurityRoleMapping(SecurityRoleMapping securityRoleMapping)
Add a new security-role-mapping element to this object

Parameters:
securityRoleMapping - the securityRoleMapping object

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.