<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世界暢談 閱讀(951) 評論(0)  編輯  收藏 所屬分類: JBPM
    主站蜘蛛池模板: 亚洲国产精品成人午夜在线观看 | 99亚洲精品卡2卡三卡4卡2卡| **aaaaa毛片免费| 亚洲精品线在线观看| 中文字幕不卡免费视频| 国产亚洲一区二区三区在线不卡| 一级日本高清视频免费观看| 亚洲精品综合久久| 永久免费无码日韩视频| 国产美女亚洲精品久久久综合| www免费插插视频| 久久被窝电影亚洲爽爽爽 | 深夜免费在线视频| 亚洲欧洲国产成人综合在线观看| a级毛片免费网站| 久久精品国产亚洲网站| 51精品视频免费国产专区| 亚洲午夜国产精品无卡| 成年女人色毛片免费看| 国产精品亚洲va在线观看| 亚洲国产精品成人| 岛国岛国免费V片在线观看 | 亚洲妇熟XXXX妇色黄| 中文字幕天天躁日日躁狠狠躁免费| 亚洲码一区二区三区| 成人au免费视频影院| 一级毛片正片免费视频手机看 | 亚洲免费日韩无码系列 | 亚洲精品自产拍在线观看| 久久A级毛片免费观看| 亚洲午夜无码久久| 国产黄色一级毛片亚洲黄片大全| 中文字幕无码日韩专区免费 | 国产亚洲人成在线播放| 精品亚洲视频在线观看 | 曰批全过程免费视频免费看 | 亚洲国产精华液2020| 区久久AAA片69亚洲| 国产免费一区二区三区| 美女露隐私全部免费直播| 久久精品国产69国产精品亚洲|