Spring知识点

Spring知识点 #

  1. xml中进行Bean的配置时,可以在大的xml文件的开头,直接指定autowired的方式:
default-autowire="byType"

或者是byName