2 Replies Latest reply on Dec 2, 2005 12:01 PM by kukeltje

    how to load ActionHandler from database in jbpm3.1a

    zhgd

      hi

      I know that all ActionHandler we define will be save to database when we deploy our process.when we deploy our process we use FileDefinition to save our ActionHandler. Then we load our porcess from database,and we execute it. I find that in org.jbpm.instantiation.Delegation class, in instantiate() method," ClassLoader classLoader = ClassLoaderUtil.getProcessClassLoader(processDefinition);" find a ProcessClassLoader to use,then
      " Class clazz = null;
      try {
      clazz = classLoader.loadClass(className);"
      We don't load class form database,I know that we can load class from databse if we use "ProcessClassLoader.findClass(String name)" method, I don't know it is a bug in jbpm3.1a. if it isn't, where can we load
      ActionHandler from databse? why we save ActionHandler to database?

      Please help me, thanks !