-
1. Re: Need help on Passing values to the Action class construc
kukeltje Oct 17, 2005 6:25 PM (in response to s_kumaars)please when posting code/xml use the
tags.
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
- fields
- 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. -
2. Re: Need help on Passing values to the Action class construc
s_kumaars Oct 18, 2005 9:46 AM (in response to s_kumaars)Hi
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?
or
Can Spring be replaced entirely with jBPM?
Your response is greatly appreciated.
Thanks,
Kumar.S -
3. Re: Need help on Passing values to the Action class construc
kukeltje Oct 18, 2005 6:47 PM (in response to s_kumaars)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)