spring_JavaConfig】的更多相关文章

从Spring 3起,JavaConfig功能已经包含在Spring核心模块,它允许开发者将bean定义和在Spring配置XML文件到Java类中. interface: package spring_config; /** * Created by luozhitao on 2017/8/10. */ public interface hello0810 { public void printMsg(String msg); } imp: package spring_config; /**…