隨筆-295  評論-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.
          ?

          大盤預測 國富論
          posted on 2007-08-28 13:49 華夢行 閱讀(159) 評論(0)  編輯  收藏 所屬分類: Spring
          主站蜘蛛池模板: 舒城县| 锡林浩特市| 嘉义县| 邢台县| 新乡市| 长治市| 深泽县| 文山县| 宜春市| 连山| 佛山市| 泰和县| 宁明县| 新平| 灌云县| 浮梁县| 丰原市| 墨玉县| 甘泉县| 炎陵县| 安远县| 黄浦区| 正镶白旗| 宽甸| 荃湾区| 云梦县| 通辽市| 宣威市| 白朗县| 宜丰县| 金昌市| 临湘市| 买车| 郴州市| 延安市| 蛟河市| 余干县| 贵港市| 白玉县| 上思县| 拉孜县|