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

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

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

    隨筆-295  評論-26  文章-1  trackbacks-0
    Bean factory implementations should support the standard bean lifecycle interfaces as far as possible. The full set of initialization methods and their standard order is:
    BeanFactory的實現應該盡可能支持標準的bean生命周期,以下是所以的方法的順序的依次列表
    1. BeanNameAware's?? setBeanName
    2. BeanClassLoaderAware's? setBeanClassLoader
    3. BeanFactoryAware's?? setBeanFactory
    4. ResourceLoaderAware's setResourceLoader (only applicable when running in an application context)
    5. ApplicationEventPublisherAware's setApplicationEventPublisher (only applicable when running in an application context)
    6. MessageSourceAware's setMessageSource (only applicable when running in an application context)
    7. ApplicationContextAware's setApplicationContext (only applicable when running in an application context)
    8. ServletContextAware's setServletContext (only applicable when running in a web application context)
    9. postProcessBeforeInitialization methods of BeanPostProcessors
    10. InitializingBean's afterPropertiesSet
    11. a custom init-method definition
    12. postProcessAfterInitialization methods of BeanPostProcessors
    ?當關閉一個bean的時候
    On shutdown of a bean factory, the following lifecycle methods apply:
    1. DisposableBean's destroy
    2. a custom destroy-method definition

    Method Summary
    ?booleancontainsBean(String?name)
    ??????????Does this bean factory contain a bean with the given name?
    ?String[]getAliases(String?name)
    ??????????Return the aliases for the given bean name, if any.
    ?ObjectgetBean(String?name)
    ??????????Return an instance, which may be shared or independent, of the specified bean.
    ?ObjectgetBean(String?name, Class?requiredType)
    ??????????Return an instance, which may be shared or independent, of the specified bean.
    ?ClassgetType(String?name)
    ??????????Determine the type of the bean with the given name.
    ?booleanisPrototype(String?name)
    ??????????Is this bean a prototype?
    ?booleanisSingleton(String?name)
    ??????????Is this bean a shared singleton?
    ?booleanisTypeMatch(String?name, Class?targetType)
    ??????????Check whether the bean with the given name matches the specified type.
    ?

    大盤預測 國富論
    posted on 2007-08-28 14:09 華夢行 閱讀(565) 評論(0)  編輯  收藏 所屬分類: Spring
    主站蜘蛛池模板: 鲁死你资源站亚洲av| 亚洲欧美日韩中文二区| 香蕉国产在线观看免费| 亚洲?V无码乱码国产精品| 日韩大片在线永久免费观看网站| 国产精品美女自在线观看免费| 亚洲精品色播一区二区| 免费无码黄网站在线观看| 久久亚洲精品无码gv| 免费一级毛片不卡不收费| 五级黄18以上免费看| 日韩亚洲变态另类中文| 91在线视频免费观看| 亚洲专区先锋影音| 亚洲一级免费毛片| 亚洲欧美aⅴ在线资源| 国产男女猛烈无遮挡免费视频网站 | 亚洲欧美在线x视频| 国产美女精品视频免费观看| 亚洲小说图区综合在线| 亚洲裸男gv网站| 花蝴蝶免费视频在线观看高清版| 亚洲AV综合色区无码一区| h视频在线免费看| 亚洲熟伦熟女专区hd高清| 亚洲国产高清精品线久久| 免费看无码特级毛片| 亚洲一区二区三区在线| 国产又长又粗又爽免费视频| 国产精品午夜免费观看网站| 久久亚洲精品成人无码网站| 成人午夜免费福利| 9久热精品免费观看视频| 亚洲va精品中文字幕| 亚洲国产成人久久一区久久| 美女视频黄的免费视频网页| 国产精品亚洲自在线播放页码| 亚洲国产一区明星换脸| 曰批全过程免费视频网址| 老湿机一区午夜精品免费福利| 亚洲乱亚洲乱淫久久|