[jboss-user] [jBPM] - adding a custom service to jbpm.cfg.xml

Michael Wohlfart do-not-reply at jboss.com
Thu Jul 22 11:04:57 EDT 2010


Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion

"adding a custom service to jbpm.cfg.xml"

To view the discussion, visit: http://community.jboss.org/message/553978#553978

--------------------------------------------------------------
You should be able to override the IdentityService with your own Implementation like this:
* extend org.jbpm.pvm.internal.svc.IdentityServiceImpl and add whatever methods you need
* instead of <identity-service /> in jbpm.cfg.xml use this: 
 <object class="your.custom.identityServiceImpl">
           <field name="commandService"><ref object="txRequiredCommandService" /></field>
        </object>

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/553978#553978]

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/20100722/06047544/attachment.html 


More information about the jboss-user mailing list