xmlTemplate.vm 2.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
  4. xmlns:tx="http://www.springframework.org/schema/tx"
  5. xsi:schemaLocation="
  6. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  7. http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
  8. http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
  9. #foreach( $childMap in $!list )
  10. <!-- $tools.get($childMap,"name") -->
  11. <bean id="$tools.get($childMap,"code")" class="com.miniframe.httpclient.HttpTransmitter">
  12. <!-- $tools.get($childMap,"map.code2uri.中文名称") -->
  13. <property name="code2uri" value="$tools.get($childMap,"map.code2uri.设置值")"/>
  14. <!-- $tools.get($childMap,"map.transType.中文名称") -->
  15. <property name="transType" value="$tools.get($childMap,"map.transType.设置值")"/>
  16. <!-- $tools.get($childMap,"map.transCode.中文名称") -->
  17. <property name="transCode" value="$tools.get($childMap,"map.transCode.设置值")"/>
  18. <!-- $tools.get($childMap,"map.clienthttpHead.中文名称") -->
  19. <property name="clienthttpHead" value="$tools.get($childMap,"map.clienthttpHead.设置值")"/>
  20. <!-- $tools.get($childMap,"map.serverhttpHead.中文名称") -->
  21. <property name="serverhttpHead" value="$tools.get($childMap,"map.serverhttpHead.设置值")"/>
  22. <!-- $tools.get($childMap,"map.host.中文名称") -->
  23. <property name="host" value="$tools.get($childMap,"map.host.设置值")"/>
  24. <!-- $tools.get($childMap,"map.port.中文名称") -->
  25. <property name="port" value="$tools.get($childMap,"map.port.设置值")"/>
  26. <!-- $tools.get($childMap,"map.uri.中文名称") -->
  27. <property name="uri" value="$tools.get($childMap,"map.uri.设置值")"/>
  28. <!-- $tools.get($childMap,"map.transmitter.中文名称") -->
  29. <property name="clientTransmeter" ref="$tools.get($childMap,"map.transmitter.设置值")"/>
  30. </bean>
  31. #end
  32. </beans>