|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.security.lib.JResourceManager
public class JResourceManager
Parse config file
| Field Summary | |
|---|---|
protected static java.lang.String |
CONFIG_FILE_DTD
DTD of the realm configuration file. |
protected static java.lang.String |
DTD_RESOURCE
Resource for the DTD. |
| Method Summary | |
|---|---|
void |
addResources(JResources res,
java.io.Reader reader,
java.lang.String xml)
Add JResource(s) created from parsing of the reader contents inside the JResources given instance. |
protected org.apache.commons.digester.Digester |
createRealmDigester()
Create and configure the Digester that will be used for the xml parsing of the JOnAS realm file. |
static JResourceManager |
getInstance()
|
boolean |
hasJmxService()
|
void |
setDomainName(java.lang.String domain)
Set the domain name |
void |
setJmxService(JmxService jmx)
Set the jmx service reference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String CONFIG_FILE_DTD
protected static final java.lang.String DTD_RESOURCE
| Method Detail |
|---|
public static JResourceManager getInstance()
protected org.apache.commons.digester.Digester createRealmDigester()
public void addResources(JResources res,
java.io.Reader reader,
java.lang.String xml)
throws SecurityServiceException
res - JResources element where JResource will be addded.reader - XML Content Readerxml - filename / xml : used in Error messages
SecurityServiceException - When parsing failspublic void setDomainName(java.lang.String domain)
domain - the domain namepublic void setJmxService(JmxService jmx)
jmxService - the jmx service referencepublic boolean hasJmxService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||