隨筆-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
          主站蜘蛛池模板: 雅安市| 柳林县| 惠州市| 霍城县| 吴忠市| 济南市| 左云县| 郴州市| 宜良县| 庆安县| 乐都县| 定州市| 沽源县| 石城县| 望城县| 邵东县| 荣昌县| 绿春县| 重庆市| 镇坪县| 梁河县| 绵阳市| 贵溪市| 城步| 大化| 建瓯市| 乳源| 长顺县| 通州市| 贵南县| 龙海市| 韩城市| 浮山县| 沅江市| 正宁县| 辽宁省| 汝南县| 福贡县| 吐鲁番市| 顺义区| 龙南县|