[jboss-user] [jBPM Users] - Re: extending tasks
do-not-reply at jboss.com
Mon Aug 24 09:16:48 EDT 2009
When I look closer into the source code I can see what you are trying to suggest (extend TaskActivity) and create my own kind of task and use this one in the execute method of TaskActivity (correct me if I'm wrong).
But the actual creation of the TaskImpl object is happening in the DBSessionImpl class. Isn't it dangerous not using this anymore (it is used in two other locations as well: NewTaskCmd and createSubTask() in TaskImpl )?
Also, this would mean that I have to duplicate all the code from TaskActivity - execute method (and hope it doesn't change too much).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251191#4251191
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251191
More information about the jboss-user