[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4
nilspreusker
do-not-reply at jboss.com
Wed Jul 1 11:05:40 EDT 2009
By the way, for spring users it might be interesting to know that you can also reference spring beans instead of a class reference in jBPM's transaction context. If you have a bean configured in your application context like this:
<bean id="identitySession" class="mypackage.IdentitySessionImpl">
| <property name="myUserDAO" ref="myUserDAO"/>
| </bean>
You can reference it in your jBPM configuration's transaction-context (jbpm.cfg.xml) like this:
<transaction-context>
| <env class="identitySession" />
| ...
| </transaction-context>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241227#4241227
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241227
More information about the jboss-user
mailing list