Package org.jgroups.conf
Class XmlConfigurator
java.lang.Object
org.jgroups.conf.XmlConfigurator
- All Implemented Interfaces:
ProtocolStackConfigurator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XmlConfiguratorgetInstance(InputStream stream) static XmlConfiguratorgetInstance(InputStream stream, Boolean validate) static XmlConfiguratorgetInstance(URL url) static XmlConfiguratorgetInstance(URL url, Boolean validate) static XmlConfiguratorgetInstance(Element el) getProtocolStackString(boolean convert) static voidprotected static XmlConfiguratorparse(InputStream stream, Boolean validate) protected static XmlConfiguratorstatic String
-
Field Details
-
log
-
-
Constructor Details
-
XmlConfigurator
-
-
Method Details
-
getInstance
- Throws:
IOException
-
getInstance
- Throws:
IOException
-
getInstance
- Throws:
IOException
-
getInstance
- Throws:
IOException
-
getInstance
- Throws:
IOException
-
getProtocolStackString
- Parameters:
convert- If false: print old plain output, else print new XML format- Returns:
- String with protocol stack in specified format
-
getProtocolStackString
- Specified by:
getProtocolStackStringin interfaceProtocolStackConfigurator
-
getProtocolStack
- Specified by:
getProtocolStackin interfaceProtocolStackConfigurator
-
parse
- Throws:
IOException
-
parse
- Throws:
IOException
-
main
- Throws:
Exception
-
replace
-