public
Description: the [OpenWFEru] workflow and BPM engine (ruby)
Homepage: http://openwferu.rubyforge.org
Clone URL: git://github.com/jmettraux/ruote.git
Search Repo:
todo #19536 : added :engine_name application context parameter (as should 
have been)
jmettraux (author)
Fri May 02 05:45:33 -0700 2008
commit  ed16449c5b8a42de9cdc861dd72816efde939432
tree    f0976101a17fa18d86a158e0a09f9585284f81fa
parent  6d0c1166c846d0feb2e055f577dc33d3d9083b91
...
78
79
80
 
 
 
 
 
 
 
81
82
83
...
90
91
92
93
 
94
95
 
96
97
98
...
78
79
80
81
82
83
84
85
86
87
88
89
90
...
97
98
99
 
100
101
 
102
103
104
105
0
@@ -78,6 +78,13 @@ module OpenWFE
0
         include ParticipantMethods
0
         include UpdateExpMethods
0
 
0
+
0
+ #
0
+ # The name of the engine, will be used to 'stamp' each expression
0
+ # active in the engine (and thus indirectrly, each workitem)
0
+ #
0
+ attr_reader :engine_name
0
+
0
         #
0
         # Builds an OpenWFEru engine.
0
         #
0
@@ -90,9 +97,9 @@ module OpenWFE
0
         #
0
         def initialize (application_context={})
0
 
0
- engine_name = application_context[:engine_name] || S_ENGINE
0
+ super S_ENGINE, application_context
0
 
0
- super engine_name, application_context
0
+ @engine_name = application_context[:engine_name] || 'engine'
0
 
0
             $OWFE_LOG = application_context[:logger]
0
 
...
683
684
685
686
 
687
688
689
...
683
684
685
 
686
687
688
689
0
@@ -683,7 +683,7 @@ module OpenWFE
0
 
0
             @eei = FlowExpressionId.new
0
             @eei.owfe_version = OPENWFERU_VERSION
0
- @eei.engine_id = get_engine.service_name
0
+ @eei.engine_id = get_engine.engine_name
0
             @eei.initial_engine_id = @eei.engine_id
0
             @eei.workflow_definition_url = 'ee'
0
             @eei.workflow_definition_name = 'ee'

Comments

    No one has commented yet.