codecamp

5.6.动作节点

顾名思义,动作节点就是用来在流程实例流转到当前节点时执行一个具体动作的。其在设计器工具栏上图标如下图所示。


      选中添加好的动作节点,在属性窗口当中,动作节点独有的“动作配置”页签中只需要我们配置一个名为实现类Bean的属性即可,这个属性是一个实现了com.bstek.uflo.process.handler.ActionHandler接口的类,且配置到spring中的bean的id,在ActionHandler接口实现类中的handle方法开发人员就可以定义要执行的具体的业务逻辑动作。

同样,在定义这个实现类Bean属性值时,除了可以手工输入以外,还可以通过右边的“选择”按钮连接到远程服务器选择,URL格式如下:

http://localhost:8080/uflo-test/dorado/uflo/list.handler

在动作节点上可添加的流入与流出连线数量如下表所示:

5.5.路由决策节点
5.7.分支节点
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }