public class AdapterDefinitionParser extends Object
adapters.n.
key.
Where n is either a number (e.g. 1,2,3, etc.) or a character (e.g. a,b,c, etc.).
The parser also supports the legacy configuration, where no adapters.n.
prefix was needed.Constructor and Description |
---|
AdapterDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
protected List<AdapterDefinition> |
parse(Map<String,String> properties) |
List<AdapterDefinition> |
parse(PropertyTree propertyTree)
Groups properties for the same adapter together and wraps the properties behind a
AdapterDefinition . |
public List<AdapterDefinition> parse(PropertyTree propertyTree)
AdapterDefinition
.
Each key which is starting with adapters.n.
where 1 is any single character.propertyTree
- The properties to parse. May contain queue properties as well.protected List<AdapterDefinition> parse(Map<String,String> properties)
Copyright © 2021. All rights reserved.