<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Flyingis

    Talking and thinking freely !
    Flying in the world of GIS !
    隨筆 - 156, 文章 - 16, 評(píng)論 - 589, 引用 - 0
    數(shù)據(jù)加載中……

    IOC容器比較--Spring VS Pico VS Yan/Nuts

    Features? Spring? Pico? Yan/Nuts
    xml configuration
    Yes? Through Nano Container
    Yes
    Life cycle
    Singleton only
    Singleton only
    Both singleton and prototype
    Parametered and ad-hoc life cycle
    No
    No
    Through <lifecycle> tag
    Constructor Injection
    Yes Yes
    Yes
    Setter Injection
    Yes
    Yes
    Yes
    Factory Method Injection
    Yes
    Yes
    Yes
    Referencing Field
    FieldRetrievingFactoryBean
    Implement ComponentAdapter
    Through <field> tag.
    Anonymous sub-bean
    Yes No
    Yes
    Ad-hoc bean combination
    No No
    Through <sequence> or <callcc> tags
    Concise collection literal
    No
    No
    Yes
    named local bean
    No
    No
    Through <local> tag
    Bean Definition Reuse
    through "abstract" bean

    Through <function> tag
    import module
    Yes
    Yes
    Yes
    module private beans
    No
    No
    Through "export" and "hide" attribute of <module>
    Selective import by bean names
    No
    No
    Through "includes" and "excludes" attribute of <import>
    Import with namespace
    No
    No
    Through "namespace" attribute of <import>
    Singleton bean with prototype property
    Requires Cglib and bytecode generation
    ComponentAdapter combination
    Through component combination
    Dependency Injection for objects not managed by container
    Supported at the cost of Spring API dependency
    No
    Through <function> and <factory> tag
    Extensible tag library
    No. But FactoryBean is a substitute
    No
    By implementing subclasses of Nut
    Configuration unit-testable within configuration file.
    No
    No
    By using <sequence> together with <assertEqual>, <assertSame>, <if>, <unless>, <fail> etc.
    autoproxy
    Yes

    No
    Custom PropertyEditor
    Yes
    Yes
    No
    Container hierarchy
    Yes
    Yes
    Yes
    AOP support
    Both Spring AOP and AspectJ
    Via dynaop
    Any AOP solution can be plugged in. An integration package for spring AOP is provided out-of-box.
    Declarative Transactional support
    Yes
    ? No. But Spring's declarative transaction support is integrated.
    Scripting language support
    Not yet
    Nano Container
    Not yet
    原文鏈接: http://docs.codehaus.org/pages/viewpage.action?pageId=39307

    posted on 2005-12-08 21:56 Flyingis 閱讀(782) 評(píng)論(0)  編輯  收藏 所屬分類: Technology

    主站蜘蛛池模板: 丁香花在线观看免费观看图片 | 一区二区三区无码视频免费福利| 国产综合成人亚洲区| 亚洲国产精华液2020| 亚洲精品色在线网站| 亚洲av成人一区二区三区在线播放 | 1000部拍拍拍18勿入免费视频软件| 华人在线精品免费观看| 特级做A爰片毛片免费看无码 | 中国亚洲呦女专区| 亚洲欧美日韩一区二区三区 | 亚洲综合中文字幕无线码| 国产精品亚洲片在线va| 亚洲精品无码少妇30P| 日日摸日日碰夜夜爽亚洲| 免费的黄色的网站| 中国一级毛片免费看视频| 免费观看91视频| 国产2021精品视频免费播放| 国产福利在线免费| 国产免费久久精品| 国产亚洲情侣一区二区无| 亚洲精品狼友在线播放| 亚洲综合男人的天堂色婷婷| 国产午夜亚洲精品国产| 激情小说亚洲色图| 中文字幕免费播放| 亚洲免费福利视频| 国产精品免费播放| 亚洲色成人中文字幕网站| 久久亚洲AV成人无码| 亚洲熟妇成人精品一区| 一区二区免费国产在线观看 | 亚洲字幕AV一区二区三区四区| 国产青草亚洲香蕉精品久久| 国产一级一毛免费黄片| 四虎最新永久免费视频| 免费a级毛片视频| 亚洲国产精品第一区二区 | 久99精品视频在线观看婷亚洲片国产一区一级在线 | 84pao强力永久免费高清|