<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, 評論 - 589, 引用 - 0
    數據加載中……

    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 閱讀(791) 評論(0)  編輯  收藏 所屬分類: Technology

    主站蜘蛛池模板: 91av在线免费视频| 久热综合在线亚洲精品| 亚洲一区二区三区久久| 少妇人妻偷人精品免费视频 | 在线看片无码永久免费视频| 久久亚洲国产成人精品性色| 国产麻豆成人传媒免费观看 | 亚洲日本精品一区二区| 亚欧日韩毛片在线看免费网站| 亚洲AV乱码久久精品蜜桃| 久久久免费精品re6| 亚洲另类视频在线观看| 女人18毛片水最多免费观看| 亚洲欧美日韩久久精品| 四虎永久免费影院| 亚洲第一页综合图片自拍| 色九月亚洲综合网| 伊人久久大香线蕉亚洲| 免费视频成人片在线观看| 亚洲国产福利精品一区二区 | 亚洲精品无码久久不卡| 国产午夜精品理论片免费观看| 亚洲成在人线av| 国产在线观看麻豆91精品免费| 久久国产亚洲精品| 九月婷婷亚洲综合在线| 久久青青草原国产精品免费| 亚洲国产一区在线观看| 四虎1515hm免费国产| 在线涩涩免费观看国产精品| 色偷偷亚洲女人天堂观看欧| 午夜亚洲福利在线老司机| 日本在线看片免费| 中国亚洲呦女专区| 日日噜噜噜噜夜夜爽亚洲精品| 久久ww精品w免费人成| 国产精品亚洲专区在线播放| 西西人体44rt高清亚洲| 精品国产免费一区二区| 久久午夜夜伦鲁鲁片免费无码| 亚洲午夜成人精品无码色欲|