srping 用bean id和@Bean注解注入
1、springdemo\src\main\resources\beans.xml<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.spring
原创
2020-05-23 10:26:56 ·
1236 阅读 ·
0 评论