摘要:
1. 注入类型a) Spring_0300_IOC_Injection_Typeb) setter(重要)c)构造方法(可以忘记)d)接口注入(可以忘记)以下是setter 注入[html]view plaincopyprint[java]view plaincopyprint?packagecom.demo.service;importorg.junit.Test;importorg.springframework.context.ApplicationContext;importorg.springframework.context.support.ClassPathXmlApplicat 阅读全文