org.jboss.cache.config.parsing
Class CacheConfigsXmlParser
java.lang.Object
org.jboss.cache.config.parsing.CacheConfigsXmlParser
- Direct Known Subclasses:
- CacheConfigsXmlParser
public class CacheConfigsXmlParser
- extends Object
Parser able to parse a series of cache configurations stored in an
XML document with the following structure:
....
....
The '....' represents the normal content of the mbean element in a
JBC -service.xml config file.
- Version:
- $Revision: 7168 $
- Author:
- Brian Stansberry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOCUMENT_ROOT
public static final String DOCUMENT_ROOT
- Name of the root element in a cache configs XML document
- See Also:
- Constant Field Values
CONFIG_ROOT
public static final String CONFIG_ROOT
- Name of the element that represents an individual cache configuration
in a cache configs XML document.
- See Also:
- Constant Field Values
QUALIFIED_CONFIG_ROOT
public static final String QUALIFIED_CONFIG_ROOT
- See Also:
- Constant Field Values
CONFIG_NAME
public static final String CONFIG_NAME
- Name of the attribute in a
cache-config
element that specifies
the name of the configuration.
- See Also:
- Constant Field Values
CacheConfigsXmlParser
public CacheConfigsXmlParser()
parseConfigs
public Map<String,Configuration> parseConfigs(String fileName)
throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
parseConfigs
public Map<String,Configuration> parseConfigs(InputStream stream,
String fileName)
throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.