<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    andyj2ee

    java tec sky

    統計

    留言簿(4)

    activemq

    aop

    design pattern

    other blog

    spring

    workflow

    多線程

    軟件架構師

    閱讀排行榜

    評論排行榜

    shark 工作流引擎新特性 HistoryRelated assigment

    shark 新特性:

    * Included new HistoryRelated implementation of Assignment API - great contribution by Rich Robinson.
      You can use it by commenting standard AssignmentManager and uncommenting HistoryRelated assignment
      manager entries 
    in Shark.conf (if you are configuring shark this way), and test it with
      Publish Document proces from test
    -JavaScript.xpdl.

    I've attached the latest HistoryRelatedAssignmentManager class and also an updated
    version of test-JavaScript.xpdl.
    
    The class now supports the following extended attributes (the names of which
    can be redefined in Shark.conf):
    
    * ReassignToOriginalPerformer
    * ReassignToOriginalPerformer
    * DoNotAssignToPerformerOfActivity
    
    As mentioned in the comments, one of each extended attribute should be
    associated with any single activity definition.  If anybody wishes to
    extend/modify this class in any way, one obvious improvment would be to allow
    multiple copies of each extended attribute to be assigned to a single 
    activity.
    I would ideally have liked to do this, but I don't need such functionality at
    the moment, and unfortunately don't have any more time to spend on it.
    
    In order to get the class working, the following properties need to be 
    specified
    in Shark.conf:
    
    
    #
    # HistoryRelated assigment manager
    #
    AssignmentManagerClassName
    =org.enhydra.shark.assignment.HistoryRelatedAssignmentManager
    HistoryRelatedAssignmentManager.username
    =admin
    HistoryRelatedAssignmentManager.password
    =enhydra
    HistoryRelatedAssignmentManager.extAttrReassignToOriginalPerformer
    =ReassignToOriginalPerformer
    HistoryRelatedAssignmentManager.extAttrAssignToPerformerOfActivity
    =AssignToPerformerOfActivity
    HistoryRelatedAssignmentManager.extAttrDoNotAssignToPerformerOfActivity
    =DoNotAssignToPerformerOfActivity
    The XPDL example is a "publish document" process that describes the workflow that may occur when publishing a web-based document. Note that in the following, a question mark represents either "1" or "2" depending on which moderator we are referring to: * Initially, an author creates a document and submits it to two moderators. The "DoNotAssignToPerformerOfActivity" ext attrib is used for each moderate_document_? activity to ensure that two different moderators moderate the document and that the same moderator cannot moderate it twice. * Each moderator moderates the document and says whether or not it is ok by setting the values of the moderate_?_ok WRD. If OK, the moderator then has to submit the document. Note that the AssignToPerformerOfActivity ext attrib is used to ensure that the moderator who moderated the document is assigned the appropriate submit_document_? activity. * If either moderator rejects the document, then the author has to update it. Again, we use the AssignToPerformerOfActivity ext attrib to ensure that the author who originally created the document has to update it. * When updated, the author has to re-submit the document using the same submit_document activity. We use the ReassignToOriginalPerformer ext attrib to ensure that the author who resubmits the document is the same author that originally submitted it. * Finally, when both the moderators are happy with the document, a publisher reviews it (if he rejects it, we head back to "update document" - in exactly the same way as if a moderator rejects it). When the publisher is happy with the document, he publishes it. We use the AssignToPerformerOfActivity ext attrib to ensure that the publisher who publishes the document is the same publisher that reviewed it. That's it... I've tested both the class and the XPDL to some extent, but both could do with some more testing if anybody would like to do it. Let me know if you have any questions.


    方向:分布式系統設計

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

    主站蜘蛛池模板: 免费成人在线视频观看| 特级毛片免费播放| 亚洲AV无码码潮喷在线观看| 高h视频在线免费观看| 哒哒哒免费视频观看在线www| 亚洲日韩乱码中文无码蜜桃臀网站| 国产亚洲福利一区二区免费看| 日韩免费高清视频网站| 免费在线观看亚洲| 亚洲AV无码乱码在线观看| 少妇中文字幕乱码亚洲影视 | 美女被cao网站免费看在线看| 亚洲日韩人妻第一页| 精品免费久久久久国产一区 | 国产在线国偷精品产拍免费| 亚洲中文字幕一二三四区苍井空| 成人黄18免费视频| 久久久久亚洲AV无码永不| 精品无码人妻一区二区免费蜜桃| 亚洲精品高清国产麻豆专区| 无码人妻久久一区二区三区免费丨 | 久久er国产精品免费观看2| 亚洲另类激情综合偷自拍| 5g影院5g天天爽永久免费影院| 亚洲一区动漫卡通在线播放| 香蕉高清免费永久在线视频 | 亚洲一区综合在线播放| 亚洲第一成年免费网站| 免费一级全黄少妇性色生活片| 亚洲色欲色欲www在线丝| 131美女爱做免费毛片| 亚洲精品无码永久在线观看男男 | 亚洲熟妇无码一区二区三区 | 亚洲日韩aⅴ在线视频| 免费观看激色视频网站bd| 免费观看又污又黄在线观看| 亚洲av无码一区二区三区不卡 | 午夜亚洲国产成人不卡在线| 国产成人亚洲精品91专区高清| 国产成人综合亚洲AV第一页| 日本免费xxxx|