1 Star 0 Fork 2

肖丹丹/作业

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
beans.xml 964 Bytes
一键复制 编辑 原始数据 按行查看 历史
肖丹丹 提交于 2023-06-15 17:36 . 1111111111
<?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.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="person1" class="com.tedu.spring.demo.Person"/>
<bean id="person2" class="com.tedu.spring.demo.Person"/>
<bean id="person3" class="com.tedu.spring.demo.Person"/>
<!--构造器问题-->
<!--<bean id="location" class="com.tedu.spring.day01.Location"/>-->
<bean id="location" class="com.tedu.spring.day01.Location">
<!--construct 构造器 arg 参数-->
<constructor-arg index="0" name="name" value="广州" type="java.lang.String"></constructor-arg>
<constructor-arg index="1" name="a" value="粤"></constructor-arg>
<constructor-arg index="2" name="b" value="15000.0"></constructor-arg>
</bean>
</beans>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/J33my3/task.git
[email protected]:J33my3/task.git
J33my3
task
作业
master

搜索帮助