Package com.networknt.config
Class CentralizedManagement
- java.lang.Object
-
- com.networknt.config.CentralizedManagement
-
public class CentralizedManagement extends Object
This class has two public methods called mergeObject and mergeMap which is used to merge config file with the values generate by ConfigInjection.class.The first method "mergeMap" is used to merge map config with values and return another merged map while the second one "mergeObject" is used to merge map config with values and return a mapping object. the merge logic is based on depth first search.
Created by jiachen on 2019-01-08.
-
-
Constructor Summary
Constructors Constructor Description CentralizedManagement()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmergeMap(Map<String,Object> config)static ObjectmergeObject(Object config, Class clazz)
-