JBoss Community

adding a custom service to jbpm.cfg.xml

reply from Michael Wohlfart in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community