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

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

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

    Oracle神諭

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      284 隨筆 :: 9 文章 :: 106 評論 :: 0 Trackbacks

    Class Token
    represents one path of execution and maintains a pointer to a node in the ProcessDefinition. Most common way to get a hold of the token objects is with ProcessInstance.getRootToken() or ProcessInstance.findToken(String).
    在流程定義中表現一個執行路徑和維持一個指示器給一個節點。
    ProcessInstance.getRootToken()
    ProcessInstance.findToken(String)

    signal()
        provides a signal to the token. this method activates this token and leaves the current state over the default transition.
        準備一個信號給標記。這個方法激活這個標記并且離開當前的狀態越過缺省的躍遷。
    ------------------------------------
    Class ProcessInstance
    is one execution of a ProcessDefinition. To create a new process execution of a process definition, just use the ProcessInstance(ProcessDefinition).
    是一個流程定義的執行。
    ProcessInstance(ProcessDefinition)
    ---------------------------------------
    Class ProcssDefinition
    創建一個ProcessDefinition
    parseParResource(String parResource)
    parseParZipInputStream(ZipInputStream zipInputStream)
    parseXmlInputStream(InputStream inputStream)
    parseXmlReader(Reader reader)
    parseXmlResource(String resource)
    parseXmlString(String string)
    -----------------------------
    Class ContextInstance
    maintains all the key-variable pairs for a process instance. You can obtain a ContextInstance from a processInstance from a process instance like this :
     ProcessInstance processInstance = ...;
     ContextInstance contextInstance = processInstance.getContextInstance();
    為流程實例維持所有的key-variable對。

    ContextInstance  contextInstance = ProcessInstance.getContextInstance();
    contextInstance.setVariable("amount",new Integer(500));
    contextInstance.setVariable("reason","I met my deadline");

    --------------------------
    任務節點:
    <task-node name="t">
      <task name="change nappy">
        <assignment  class="org.jbpm.tutorial.taskmgmt.NappyAssignmentHandler"/>
      </task>
      <transition to="end">
    </task-node>

    TaskInstance taskInstance = (TaskInstance)processInstance.getTaskMgmtInstance().getTaskInstances().iterator().next();

    taskInstance.end(); //標志這個任務已經結束

    --------------------------------------------

    posted on 2005-09-19 11:49 java世界暢談 閱讀(950) 評論(0)  編輯  收藏 所屬分類: JBPM
    主站蜘蛛池模板: 国产免费阿v精品视频网址| 老司机免费午夜精品视频| 精品国产麻豆免费人成网站| 免费人成网站在线高清| 黄色免费网站网址| 毛片A级毛片免费播放| 亚洲AV成人一区二区三区在线看| 免费h片在线观看网址最新| 亚洲精品国产综合久久一线| 亚洲最新在线视频| 国产精品午夜免费观看网站| 亚洲精品无码专区2| 人碰人碰人成人免费视频| 亚洲中文字幕无码中文字在线| 国产免费阿v精品视频网址| 久久亚洲春色中文字幕久久久| 添bbb免费观看高清视频| 免费大黄网站在线观| 久久不见久久见免费影院www日本| 亚洲色WWW成人永久网址| 亚洲AV成人一区二区三区观看 | 久久永久免费人妻精品下载 | 亚洲AV一区二区三区四区| 免费看国产一级片| 伊人免费在线观看高清版| 97亚洲熟妇自偷自拍另类图片| 亚洲AV无码一区二区乱子仑| 亚洲精品国产综合久久一线| 日韩电影免费观看| 亚洲人成网站在线播放2019| 国产乱辈通伦影片在线播放亚洲| 久久国产精品萌白酱免费| 亚洲狠狠婷婷综合久久蜜芽| 美女网站免费福利视频| 亚洲色偷偷偷网站色偷一区| 卡1卡2卡3卡4卡5免费视频| 成在线人免费无码高潮喷水| 亚洲午夜久久久影院伊人| 最近免费中文在线视频| 亚洲网红精品大秀在线观看| 成人免费无码精品国产电影|