<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

    主站蜘蛛池模板: 麻豆安全免费网址入口| 亚洲喷奶水中文字幕电影| 黄页网址大全免费观看12网站| 成年女人毛片免费观看97| 亚洲国产最大av| 97无码免费人妻超级碰碰夜夜| 亚洲精品456人成在线| 在线观看日本免费a∨视频| 亚洲综合一区二区三区四区五区| 曰批全过程免费视频在线观看| 香蕉大伊亚洲人在线观看| 免费观看理论片毛片| 亚洲AⅤ男人的天堂在线观看| 又黄又爽的视频免费看| 日韩在线观看免费| 亚洲精品美女久久久久99| 野花香高清在线观看视频播放免费| 亚洲妇熟XXXX妇色黄| 中文字幕亚洲免费无线观看日本 | 999任你躁在线精品免费不卡| 久久香蕉国产线看观看亚洲片| 在线观看免费中文视频| 亚洲人成7777影视在线观看| 国产成人免费爽爽爽视频| 亚洲AV无码一区二区三区鸳鸯影院| 亚洲成AV人在线观看网址| 久久国产免费观看精品| 亚洲午夜精品在线| 四虎免费影院4hu永久免费| 在线免费观看h片| 亚洲伊人久久大香线蕉影院| 四虎永久免费地址在线观看| 国产色爽免费无码视频| 亚洲午夜精品国产电影在线观看| 四虎影院永久免费观看| 国内永久免费crm系统z在线| 亚洲久悠悠色悠在线播放| 亚洲熟伦熟女新五十路熟妇| 免费A级毛片av无码| 国产成人亚洲精品蜜芽影院| 久久亚洲精品中文字幕无码|