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光環 閱讀(927) 評論(0)  編輯  收藏 所屬分類: workflow

          主站蜘蛛池模板: 莱州市| 沧源| 岳池县| 闻喜县| 东丰县| 沙湾县| 漠河县| 屏南县| 观塘区| 长治市| 晋中市| 淄博市| 江川县| 留坝县| 永善县| 渝中区| 岳普湖县| 花莲市| 保德县| 阿克陶县| 凤翔县| 丽江市| 竹山县| 怀仁县| 桐梓县| 阿坝县| 公主岭市| 进贤县| 双柏县| 饶河县| 广元市| 建平县| 方城县| 高雄县| 哈尔滨市| 夹江县| 卓尼县| 乌兰浩特市| 台州市| 桂阳县| 古浪县|