I really need this feature to let jbpm4 run in an OSGi envrionment.
Now jBPM4 only use Thread.currentThread().getContextClassLoader() to load resources or class. But in an OSGi environment, the contextClassLoader may be not for the jbpm4 bundle, So jBPM4 won't find any xml configuration resource from classloader, then lots of errors occured.
So I need when jbpm4 find resource or class, it not only use contextClassLoader, but also use it's owner classloader, e.g. JpdlParser.class.getClassLoader().
Any opinions are appreciated. Thank you very much.