alartin's profileWindows Live 共享空间PhotosBlogListsMore Tools Help

Blog


    January 22

    JBPM术语:超级状态Superstates

    概述

    一个超级状态就是一组节点。超级状态可以以回归方式嵌套。超级状态能够给流程定义带来层次效果。例如一个应用可能要把流程中的所有节点按阶段进行分组。动作可以和超级状态的事件相关联。超级状态能够让一个token在给定的时间上位于多个嵌套的节点中。这会带来很多方便,例如你可以方便的查询流程的执行是否在启动阶段。在JBPM中你可以将任意的节点们组成一个超级状态。

    超级状态的转移

    超级状态的所有转移都通过超级状态中的节点们的token来完成。转移也可以到达超级状态。此时,token被重定向到超级状态中的第一个节点。超级状态外的节点可以拥有指向超级状态内节点的转移,当然同时超级状态内的节点也可以拥有指向超级状态外的节点的转移,甚至指向超级状态本身的转移。超级状态甚至可以有自引用。

    超级状态的事件

    超级状态拥有两个特定的事件:进入超级状态,离开超级状态。无论超级状态

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://alarnan.spaces.live.com/blog/cns!819CBC613DE169EF!179.trak
    Weblogs that reference this entry
    • None