Al Nadein [
http://community.jboss.org/people/matrixpooh] created the discussion
"Re: Obtain a handle to ExecutionImpl from unit tests"
To view the discussion, visit:
http://community.jboss.org/message/562560#562560
--------------------------------------------------------------
HuiSheng and Michael,
Thanks for replies!
For once, JbpmTestCase uses Configuration.buildProcessEngine() - i.e. it doesn't
accomodate for different configuration files other than a default one.
I also need to be able to access services and commands from non-test classes. The reason
being that my code base is broken into different modules and I'm trying to avoid a
circular dependency between them by eliminating the need of passing jbpm services and
commands around the modules. I'd rather instantiate pvm once and be able to obtain a
handle to it anywhere in my codebase.
HuiSheng's suggestion was close to what I'm looking for; unfortunately my pvm is
running in JVM, not in anapplication server.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/562560#562560]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]