Spring学习第三天

Spring的Bean管理(注解) 注解的准备工作 1.先到导入一个jar包 2.添加约束  http://www.springframework.org/schema/aop/spring-aop.xsd 3.扫描注解 <context:component-scan base-package="com"></context:component-scan>他扫描的是  包里面扫描  类  方法 
相关文章
相关标签/搜索