[jboss-user] [jBPM] - retrieve list of workItemHandlers name from kSession?

Ashish Sinha do-not-reply at jboss.com
Fri Jul 13 11:17:01 EDT 2012


Ashish Sinha [https://community.jboss.org/people/imtuku] created the discussion

"retrieve list of workItemHandlers name from kSession?"

To view the discussion, visit: https://community.jboss.org/message/748065#748065

--------------------------------------------------------------
Hi,
I am using JBPM 5+ with spring and want to know if there is any way to get workItemHandler name using kSession.

Below is the xml setting of handler within kSession.

<bean class="AbcHandler" ref="abcHandler"/>

<drools:ksession id="kSession" type="stateful" kbase="kBase">
                    <drools:configuration>
                              <drools:work-item-handlers>
                        <drools:work-item-handler name="AbcServiceTask" ref="abcHandler"/>
               </drools:work-item-handlers>
         </drools:configuration>
</drools:ksession>

I believe there must be something

String[] handlers =  kSession.getCongiguration().getWorkItemHandlers() ?

any idea?
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20120713/79b9cb6a/attachment.html 


More information about the jboss-user mailing list