org.objectweb.jonas.security.lib.wrapper
Class JResourceManagerWrapper

java.lang.Object
  extended by org.objectweb.jonas.security.lib.wrapper.JResourceManagerWrapper

public class JResourceManagerWrapper
extends java.lang.Object

Author:
Guillaume Sauthier

Method Summary
static void addResources(JResources jres, java.io.Reader reader, java.lang.String xml)
          Add JResource(s) created from parsing of the reader contents inside the JResources given instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addResources

public static void addResources(JResources jres,
                                java.io.Reader reader,
                                java.lang.String xml)
                         throws SecurityServiceException
Add JResource(s) created from parsing of the reader contents inside the JResources given instance.

Parameters:
jres - JResources element where JResource will be addded.
reader - XML Content Reader
xml - filename / xml : used in Error messages
Throws:
SecurityServiceException - When parsing fails