隨筆-295  評(píng)論-26  文章-1  trackbacks-0
          public interface Lifecycle
          		

          Interface defining methods for start/stop lifecycle control. The typical use case for this is to control asynchronous processing.

          Can be implemented by both components (typically a Spring bean defined in a Spring BeanFactory) and containers (typically a Spring ApplicationContext). Containers will propagate start/stop signals to all components that apply.

          Can be used for direct invocations or for management operations via JMX. In the latter case, the MBeanExporter will typically be defined with an InterfaceBasedMBeanInfoAssembler, restricting the visibility of activity-controlled components to the Lifecycle interface.

          Since:
          2.0
          Author:
          Juergen Hoeller
          See Also:
          ConfigurableApplicationContext , AbstractMessageListenerContainer, SchedulerFactoryBean

          Method Summary
          ?boolean isRunning ()
          ??????????Check whether this component is currently running.
          ?void start ()
          ??????????Start this component.
          ?void stop ()
          ??????????Stop this component.
          ?

          大盤預(yù)測(cè) 國(guó)富論
          posted on 2007-08-28 13:49 華夢(mèng)行 閱讀(155) 評(píng)論(0)  編輯  收藏 所屬分類: Spring
          主站蜘蛛池模板: 拉萨市| 寻甸| 隆化县| 永春县| 彰武县| 广平县| 桑日县| 寿光市| 易门县| 辽中县| 泰和县| 三穗县| 新余市| 八宿县| 迁安市| 海兴县| 汾西县| 潜山县| 涟源市| 博兴县| 绥化市| 遵化市| 安岳县| 双柏县| 大悟县| 山阴县| 连南| 江门市| 法库县| 桂平市| 鹿邑县| 榆社县| 保靖县| 湾仔区| 永春县| 阳朔县| 图木舒克市| 莱州市| 邵阳县| 陇川县| 米泉市|