[jboss-dev-forums] [Design of JBoss jBPM] - Re: late binding for sub processes

jeffdelong do-not-reply at jboss.com
Wed Aug 16 10:11:00 EDT 2006


I did a bit of "local surgery, and was able to get late binding to work. The SubProcessResolver interface requires the subProcessElement from the jpdl. Unfortunately I was not able to persist this XML Element as part of ProcessState (this may just be a limitation of my Hibernate experience having never worked with HIbernate and XML). Instead I created subProcessDefinitionName and subProcessVersion attributes on the ProcessState (both Strings), and then added a method to ProcessState to lookup the processdefinition (basically a cut and pase of DBSubProcessResolver). It would be better if either the subProcessElement was persisted, or if the SubProcessResolver interface took the two string values for arguments instead of the XML.

I do have a TestCase created. It uses process definitions from PAR files, however I can tweak it to include these in the test case source.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965484#3965484

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965484



More information about the jboss-dev-forums mailing list