Allow subclassing of TaskService and overriding Operations DSL
---------------------------------------------------------------
Key: JBPM-3074
URL:
https://issues.jboss.org/browse/JBPM-3074
Project: jBPM
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 5.1
Reporter: Alex Pavlov
Assignee: Kris Verlaenen
TaskService constructor tries to load operations-dsl.mvel from current package folder. If
called from subclass, the constructor fails to locate the operations file, as package name
is different. The suggested workaround forces loading of Operations DSL by traversing the
class hierarchy bottom up. If operations file cannot be found, the constructor throws
Runtime exception with problem description (instead of NullPointerException). The update
allows subclassing of TaskService and overriding Operations DSL. The patch is available
through
git://github.com/rushproject/jbpm.git
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira