please when posting code/xml use thetags.
Besides that, if you read the docs (http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#configurationofdelegations) , what you want is not possible. You can use either
- bean (setters)
- constructor (which takes the whole config part and pases it as text)
Some kind of reflection to pass variables as individual paramaters in a constructor is not supported (as stated in the docs)
Besides that, the execute method is called. It is not possible to call specific methods in an actionhandler directly from the processdefinition.
Thank you for your immediate reply.
In our project - we used the Spring framework for configuring all the classes which defines a workflow. Now the requirement got changed and planning to use the jBPM instead of Spring.
In Spring configuration xml file - we are directly accessing a particular method which is not possible using jPBM (as per your response).
So, is there any way to use Spring configuration xml file inside jBPM?
Can Spring be replaced entirely with jBPM?
Your response is greatly appreciated.
spring and jbpm server completely different purposes. So replacing one with the other seams (no pun intended) not the way to go. They are complementary.
I do not know spring enough to give you pointers. sorry. But there are spring/jbpm intgegration things going on (I have no link so you have to search that on the internet)