Package org.jgroups.fork
Class ForkConfig
- java.lang.Object
-
- org.jgroups.fork.ForkConfig
-
public final class ForkConfig extends java.lang.Object
Parses the fork-stacks.xsd schema. See conf/fork-stacks.xml for an example- Since:
- 3.4
- Author:
- Bela Ban
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
FORK_STACK
protected static java.lang.String
FORK_STACKS
protected static java.lang.String
ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
match(java.lang.String expected_name, java.lang.String name)
static java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>>
parse(java.io.InputStream input)
Parses the input and returns a map of fork-stack IDs and lists of ProtocolConfigurationsstatic java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>>
parse(XmlNode root)
protected static void
parseForkStack(java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>> map, XmlNode root)
-
-
-
Field Detail
-
FORK_STACKS
protected static final java.lang.String FORK_STACKS
- See Also:
- Constant Field Values
-
FORK_STACK
protected static final java.lang.String FORK_STACK
- See Also:
- Constant Field Values
-
ID
protected static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public static java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>> parse(java.io.InputStream input) throws java.lang.Exception
Parses the input and returns a map of fork-stack IDs and lists of ProtocolConfigurations- Throws:
java.lang.Exception
-
parse
public static java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>> parse(XmlNode root) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseForkStack
protected static void parseForkStack(java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>> map, XmlNode root) throws java.lang.Exception
- Throws:
java.lang.Exception
-
match
protected static void match(java.lang.String expected_name, java.lang.String name) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-