Spring配置构造函数的参数 <bean id="person" class="com.test.Person"> <constructor-arg value="张三"/> <constructor-arg value="20"/> </bean>