bean管理,带构造参数的实例化配置
<bean id="xx" destroy-method="dispose" > <property name="connector" ref="upmConnector"/> <constructor-arg index="0" value="${server.ip}" /> <constructor-arg index="1" value="${server.port}" /> </bean>