AssignmentHandler实现类用spring注入

<task form="/workflow/personOut/update/view" g="175,217,121,52" name="部门领导审批">
<description>外出审批</description>
<assignment-handler expr="#{leadHandler}"></assignment-handler>
<transition g="-42,-10" name="批准" to="exclusive1"/>
<transition g="101,244;103,119:-42,-18" name="驳回" to="外出申请"/>
<transition g="51,263;49,651:-47,-17" name="不批准" to="end1"/>
</task>

 

如果希望从spring中获得bean,需要使用<assignment-handler expr="#{leadHandler}"/>

 leadHandler为spring注入的Id名称

 

 

posted @ 2012-12-13 10:57  eggbucket  阅读(320)  评论(0编辑  收藏  举报