OSWorkflow之二——由WorkflowDescriptor而看到的

在com.opensymphony.workflow.loader包下,有许多形形色色的Descriptor,他们以AbstractDescriptor为根,遍地开花。

 

图1:

 从上图可以看到AbstractDescriptor的子嗣不是一般的多啊,但不要被他们所吓倒!

 

窥一斑而知全豹

OSWorkflow把定义在XML中的流程,根据DTD文件中定义好的各种XML元素,抽象出了很多种Descriptor,因此我们才得以见到如此多的Descriptor,这里也包括我们之前提到的WorkflowDescriptor,他可是XML流程文件中的根节点,也是最复杂的Descriptor,我们就从他开始。

 

The main workflow element. A workflow includes a set of meta properties that are global, as well as global registers
and trigger functions. It also defines a set of initial actions that are available to kick off the workflow.
The global actions are actions that can be executed from any step. They are available to all steps.
common-actions are actions that can be reused in steps. They a

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值