andyj2ee

          java tec sky

          統計

          留言簿(4)

          activemq

          aop

          design pattern

          other blog

          spring

          workflow

          多線程

          軟件架構師

          閱讀排行榜

          評論排行榜

          shark 工作流引擎新特性 handling Deadlines

          shark1.0新特性:

          * Added new functionality of handling Deadlines.
            Shark now has defined client API, and its implementation 
          for handling Activity deadlines.
            This API 
          is supposed to be used by shark client to periodically ask shark to check deadines.
            Shark can be setup to re
          -evaluate deadlines every time deadline check is performed,
            or to initially calculate deadline times and store it into DB, and when asked to
            check deadlines, deadline limit 
          is retrieved from DB.
            Shark comes with an example XPDL processes contained 
          in deadlineexamples.xpdl file,
            that shows ASYNC and SYNC deadline handling.

            In shark deadline expressions along with all process variables, you can use special variables called:

                
          1. PROCESS_STARTED_TIME - the time when the process is started

                
          2. ACTIVITY_ACTIVATED_TIME - the time when process flow comes to activity and
                                             assignments 
          for the activity are created

                
          3. ACTIVITY_ACCEPTED_TIME - the time when the first assignment for the activity is accepted

                NOTE: If activity 
          is being rejected after its acceptance, or it is not accepted at all,
                      the ACTIVITY_ACCEPTED_TIME 
          is set to some maximum value in the future

             IMPORTANT:

                
          - There shouldn't be process variables (DataField or FormalParameter entities from XPDL)
                  that have the same Id as the one of previously listed - The Java type of these variables is java.util.Date.

                
          - deadline expression result must be java.util.Date

                
          - if shark is setup to not re-evaluate deadlines, but to initially evaluate
                  deadline limit times, ACTIVITY_ACCEPTED_TIME should not be used 
          in expressions
                  because it will contain some maximum time 
          in the future.

             When starting Shark CORBA server, it can be configured 
          if it will open a thread for checking Deadlines.


          方向:分布式系統設計

          posted on 2005-04-30 18:23 java光環 閱讀(924) 評論(0)  編輯  收藏 所屬分類: workflow

          主站蜘蛛池模板: 永寿县| 河曲县| 德清县| 双江| 明水县| 射阳县| 武夷山市| 柳江县| 莱阳市| 汉源县| 甘孜县| 峨眉山市| 许昌市| 双城市| 巧家县| 金山区| 商南县| 休宁县| 临夏市| 敦化市| 江川县| 新河县| 远安县| 抚宁县| 新建县| 柳州市| 陵水| 大连市| 宁国市| 洪江市| 黄冈市| 河池市| 重庆市| 清远市| 尉氏县| 本溪市| 西乡县| 泗水县| 页游| 贺州市| 蚌埠市|