锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲a级在线观看,亚洲免费视频网站,亚洲人成网站影音先锋播放http://m.tkk7.com/junky/category/11523.htmlzh-cnTue, 27 Feb 2007 22:09:02 GMTTue, 27 Feb 2007 22:09:02 GMT60Work Flow 瀛︿範絎旇(浜?http://m.tkk7.com/junky/archive/2006/05/25/48177.htmljunkyjunkyThu, 25 May 2006 12:25:00 GMThttp://m.tkk7.com/junky/archive/2006/05/25/48177.htmlhttp://m.tkk7.com/junky/comments/48177.htmlhttp://m.tkk7.com/junky/archive/2006/05/25/48177.html#Feedback1http://m.tkk7.com/junky/comments/commentRss/48177.htmlhttp://m.tkk7.com/junky/services/trackbacks/48177.html闃呰鍏ㄦ枃

junky 2006-05-25 20:25 鍙戣〃璇勮
]]>
Work Flow 瀛︿範絎旇http://m.tkk7.com/junky/archive/2006/05/25/48176.htmljunkyjunkyThu, 25 May 2006 12:23:00 GMThttp://m.tkk7.com/junky/archive/2006/05/25/48176.htmlhttp://m.tkk7.com/junky/comments/48176.htmlhttp://m.tkk7.com/junky/archive/2006/05/25/48176.html#Feedback0http://m.tkk7.com/junky/comments/commentRss/48176.htmlhttp://m.tkk7.com/junky/services/trackbacks/48176.html 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 聽聽聽聽 Work Flow 瀛︿範絎旇

1.聽聽聽 WfRequester

WfRequester is the interface that has a direct concern with the execution and results

of a workflow process - it represents the request for some work to be done. Its

performer, a WfProcess, is expected to handle its request and communicate significant

status changes; in particular to inform the requester when it has completed performing

the requested work. A single requester can have many processes associated with it.

聽聽

璇存槑錛?/span> WfRequester 鎺ュ彛鏄竴涓拰宸ヤ綔嫻佹祦紼嬬殑鎵ц鍙婄粨鏋滄湁鐩存帴鍏崇郴鐨勬帴鍙o紱瀹冧唬琛ㄤ簡瀵逛竴浜涘伐浣滄墽琛岀殑璇鋒眰錛涘畠鐨勪竴涓富瑕佸姛鑳芥槸鎶?/span> WfProcess 閾炬帴鍒頒竴涓叾瀹冨簲鐢紱鍏朵腑 WfRequester 浼氬叧鑱斿埌澶氫釜 WfProcee, 褰?/span> WfProcess 鍙戠敓 complete 銆?/span> terminate 銆?/span> abort 浜嬩歡鏃朵細閫氳繃鍥炶皟 receiveEvent() 鏂規硶鏉ラ氱煡 WfRequest 錛涘湪 receiveEvent(event) 鏂規硶涓紝鍙傛暟 event 鏄竴涓?/span> WfEventAudit 瀵硅薄錛屽叾涓?/span> WfEventAudit 涓湁涓涓柟娉?/span> source(), 閫氳繃榪欎釜鏂規硶鎴戜滑鍙互寰楃煡鏄摢涓?/span> WfExecutionObject 瀵硅薄瑙﹀彂浜嗕簨浠舵簮錛涘緱鍒頒簡 WfExcutionObject 鍗?/span> WfProcess 鎴戜滑涔熻繘鑰?/span> 寰楀埌浜嗗拰榪欎釜 WfProcess 鐩稿叧鑱旂殑鍏跺畠搴旂敤錛?/span>

涓昏姝ラ :

(1)聽聽聽 鑷畾涔変竴涓嚜宸辯殑綾繪垨鎺ュ彛錛屽 GenericRequester, 榪欎釜 GenericRequester 綾諱唬琛ㄧ敤鎴瘋嚜瀹氫箟鐨勪竴涓姹傝咃紱

(2)聽聽聽 鍦ㄥ惎鍔?/span> WfProcess 鏄紝鎶婅繖涓姹傝呭拰 WfProcess 榪涜緇戝畾娉ㄥ唽鍒?/span> WfRequester 涓紱

鍦?/span> WfReuester 鐨?/span> registerProcess() 灝辨槸鍋氳繖涓姛鑳斤紝涓昏浠g爜濡備笅

protected Map performers = null;

public void registerProcess(WfProcess process, Map context, GenericRequester requester){

聽聽聽聽聽聽聽聽聽聽聽聽聽聽 performers.put(process, requester);

}

(3)聽聽聽 褰撳伐浣滄祦紼嬪湪鎵ц鐨勮繃紼嬩腑鍙戠敓 complete 銆?/span> terminate 銆?/span> abort 浜嬩歡鏃朵細鍥炶皟 WfRequest 涓殑 receiveEvent() 鏂規硶錛?/span>

聽聽聽 requester.receiveEvent(audit);

(4) 聽聽 鍦?/span> receiveEvent() 涓鍏堟牴鎹?/span> WfEventAudit 鐨?/span> source() 鑾峰彇瑙﹀彂浜嬩歡鐨?/span> WfProcess 瀵硅薄錛?/span>

receiveEvent(WfEventAudit event){

聽聽聽聽聽聽聽 // 鑾峰彇浜嬩歡婧?/span> process 瀵硅薄

WfProcessprocess = (WfProcess) event.source();

// 鏍規嵁 prcocess 瀵硅薄鑾峰彇鍦ㄦ敞鍐屾椂緇戝畾鐨勮嚜瀹氫箟璇鋒眰鑰?/span> GenericRequester

GenericRequester req = (GenericRequester) performers.get(process);

// 鎵ц鑷畾涔夎姹傝呯殑鏂規硶

req.receiveResult(process.result());

}

鍏跺畠錛氬湪榪欓噷 GenericRequester 涔熷彲鏄竴涓?/span> WfProcess 鎴?/span> WfActivity 瀵硅薄錛岃繖鏍峰彲浠ュ湪 WfProcess 瀹屾垚鎿嶄綔鍚庡張鍚姩鍙︿竴涓瓙嫻佺▼鎴栨煇涓椿鍔紱 聽聽聽



junky 2006-05-25 20:23 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 又粗又长又爽又长黄免费视频 | 牛牛在线精品免费视频观看| 99热在线精品免费全部my| 久久久久亚洲AV无码麻豆| 精品视频一区二区三区免费| 伊人久久大香线蕉亚洲| 4399好看日本在线电影免费| 人与禽交免费网站视频| 亚洲午夜精品久久久久久浪潮| 亚洲经典在线中文字幕| 免费一级毛片在线播放放视频 | 亚洲男人的天堂一区二区| 成人国产网站v片免费观看| 亚洲AV成人精品日韩一区18p| 免费在线观看黄网| 亚洲精品在线不卡| 在线看片v免费观看视频777| 亚洲一本到无码av中文字幕| 精品国产免费一区二区三区香蕉 | 亚洲综合色区中文字幕| 国产免费区在线观看十分钟| 久久精品7亚洲午夜a| 久久久久免费视频| 亚洲av无码一区二区三区不卡| 午夜免费福利片观看| 亚洲精品国产电影| 97超高清在线观看免费视频| 久久亚洲美女精品国产精品| 性xxxx视频播放免费| 亚洲国产精品白丝在线观看| 四虎www免费人成| 国产大片免费天天看| 亚洲成人国产精品| 亚洲欧美日韩综合久久久| 亚洲精品成人在线| 3d成人免费动漫在线观看| 亚洲视频在线观看| 全免费a级毛片免费看不卡| 99在线热播精品免费99热| 亚洲深深色噜噜狠狠网站| av免费不卡国产观看|