[jboss-user] [JBoss jBPM] - TaskMgmtSession and Custom Tasks
julian_k
do-not-reply at jboss.com
Sat Mar 10 12:40:35 EST 2007
Hi,
I recently updated to jBPM 3.1 and found that the TaskMgmtSession class doesn't check if a custom TaskInstance class has been declared when loading TaskInstances from Hibernate (e.g. TaskMgmtSession.getTaskInstance). I know that the actual class name is not configured in jbpm.cfg.xml (it used to be an option in jbpm 3.0). Is this a design issue, a bug, or something else? If it's a bug, perhaps the TaskInstanceFactory interface could be changed to add a static method that returns the class or class name of the Object constructed in the createTaskInstance method. The other option is to call the createTaskInstance and use the .class property.
Input appreciated,
Julian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026883#4026883
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026883
More information about the jboss-user
mailing list