Hello,
I noticed that each ActionHandler is loaded by a different instance of ProcessClassLoader.
Incidentally that means that static variables cannot be used, as static variables are
classloader-scoped.
The code responsible for this is in ClassLoaderUtil.java
public static ClassLoader getProcessClassLoader(ProcessDefinition processDefinition) {
| return new ProcessClassLoader(ClassLoaderUtil.class.getClassLoader(),
processDefinition);
| }
A new instance everytime, instead of a singleton...
Is this behaviour by design ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074787#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...