public class AdapterConfigurationParser 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 |
---|
AdapterConfigurationParser() |
Modifier and Type | Method and Description |
---|---|
List<Adapter> |
parse(Map<String,String> properties)
Groups properties for the same adapter together and wraps the properties behind a
MapBasedAdapterDef . |
public List<Adapter> parse(Map<String,String> properties)
MapBasedAdapterDef
.
Each key which is starting with adapters.n.
where 1 is any single character,properties
- The properties to parse. May contain protocol properties as well.Copyright © 2019. All rights reserved.