[jboss-user] [jBPM] - Re: Obtain a handle to ExecutionImpl from unit tests

Al Nadein do-not-reply at jboss.com
Sat Sep 18 19:39:10 EDT 2010


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100918/00d4576b/attachment.html 


More information about the jboss-user mailing list