|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.security.lib.JResourceManager
public class JResourceManager
Parse config file
Field Summary | |
---|---|
protected static String |
CONFIG_FILE_DTD
DTD of the realm configuration file. |
protected static String |
DTD_RESOURCE
Resource for the DTD. |
Method Summary | |
---|---|
void |
addResources(JResources res,
Reader reader,
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(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 String CONFIG_FILE_DTD
protected static final String DTD_RESOURCE
Method Detail |
---|
public static JResourceManager getInstance()
protected org.apache.commons.digester.Digester createRealmDigester()
public void addResources(JResources res, Reader reader, 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(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 |