如何加载jar包中的spring配置文件

如题所述

用反射 spring基于反射解析xml 根据类路径class(Class.forName) 根据给property通getField拿Field再实例化 再赋值
-
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答