[jboss-user] [jBPM] - Spring JBpm 4.3 loading a custom IdentitySession
Sebastian Schneider
do-not-reply at jboss.com
Thu Apr 29 15:32:26 EDT 2010
Sebastian Schneider [http://community.jboss.org/people/sebastian.s] replied to the discussion
"Spring JBpm 4.3 loading a custom IdentitySession"
To view the discussion, visit: http://community.jboss.org/message/540233#540233
--------------------------------------------------------------
AFAIK you have to replace jBPM's ObjectFactory by a Factory using the SpringContext to resolve object names. I know you are using jBPM 4.x but maybe you find some inspiration on how to make jBPM use a SpringObjectFactory in this tutorial for jBPM 3.2:
http://www.jorambarrez.be/blog/2009/04/17/integrating-jbpm3-with-spring-part1/ http://www.jorambarrez.be/blog/2009/04/17/integrating-jbpm3-with-spring-part1/
With respect to the tutorial you would need to create a SpringObjectFactory (implementating jBPM's ObjectFactory) and instantiate the factory via Spring. Then pass the ObjectFactory into the Configuration bean.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540233#540233]
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/20100429/7b3fcfad/attachment.html
More information about the jboss-user
mailing list