[rules-users] Decision table call external method

laune wolfgang.laun at gmail.com
Tue May 15 04:00:52 EDT 2012


If there is just one object of class XMLTool and all addNode() calls should
refer to this single object, you should do what Vincent suggested by making
this single object accessible via a DRL global variable, or by using the
singleton design pattern (as in Java).

Adding this object as a fact and using (by applying tricks) it in the
condition isn't the way this is supposed to be done (as you have rightly
noticed).

-W


--
View this message in context: http://drools.46999.n3.nabble.com/Decision-table-call-external-method-tp3976910p3987626.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list