锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品毛片,国产a精品视频,2019中文字幕在线视频http://www.aygfsteel.com/springwang/The spring for Allzh-cnFri, 04 Jul 2025 21:59:48 GMTFri, 04 Jul 2025 21:59:48 GMT60Professional Java Development with the Spring Framework --- Containerhttp://www.aygfsteel.com/springwang/archive/2006/02/10/30164.htmlspring wangspring wangFri, 10 Feb 2006 07:42:00 GMThttp://www.aygfsteel.com/springwang/archive/2006/02/10/30164.htmlhttp://www.aygfsteel.com/springwang/comments/30164.htmlhttp://www.aygfsteel.com/springwang/archive/2006/02/10/30164.html#Feedback0http://www.aygfsteel.com/springwang/comments/commentRss/30164.htmlhttp://www.aygfsteel.com/springwang/services/trackbacks/30164.htmlThe list, set, map, and props elements allow complex properties or constructor arguments of type java.util.List, java.util.Set, java.util.Map, and java.util.Properties to be defined and set. Let's look at a completely artificial example, in which a JavaBean has a List, Set, Map, and Properties property set:

<beans>
  <bean id="collectionsExample" class="ch02.sample7.CollectionsBean">
    <property name="theList">
      <list>
        <value>red</value>
        <value>red</value>
        <value>blue</value>
        <ref local="curDate"/>
        <list>
          <value>one</value>
          <value>two</value>
          <value>three</value>
        </list>
      </list>
    </property>
    <property name="theSet">
      <set>
        <value>red</value>
        <value>red</value>
        <value>blue</value>
      </set>
    </property>
    <property name="theMap">
      <map>
        <entry key="left">
          <value>right</value>
        </entry>
        <entry key="up">
          <value>down</value>
        </entry>
        <entry key="date">
          <ref local="curDate"/>
        </entry>
      </map>
    </property>
    <property name="theProperties">
      <props>
        <prop key="left">right</prop>
        <prop key="up">down</prop>
      </props>
    </property>
  </bean>
   
  <bean id="curDate" class="java.util.GregorianCalendar"/>
</beans>

List, Map, and Set values may be any of the elements



spring wang 2006-02-10 15:42 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 沧州市| 承德县| 华安县| 马尔康县| 青川县| 万荣县| 雅江县| 文水县| 临沂市| 拉萨市| 宁晋县| 延吉市| 金寨县| 柘荣县| 固始县| 洪洞县| 东辽县| 平遥县| 柯坪县| 华宁县| 苍梧县| 常山县| 莫力| 平凉市| 新宁县| 东港市| 丰宁| 东方市| 收藏| 沙湾县| 灌云县| 玛多县| 霞浦县| 桂东县| 房产| 莆田市| 资兴市| 武胜县| 大理市| 新巴尔虎左旗| 满城县|