[rules-users] calling a function before and after every rule

Wolfgang Laun wolfgang.laun at gmail.com
Thu Jun 7 02:47:33 EDT 2012


Package org.drools.event.rule contains almost all you need - you'll
have to implement an AgendaEventListener according to the pervasive
Listener pattern. Event data points you to some usefule information.

-W

On 07/06/2012, Hezi Stern <hezis at delegatecom.com> wrote:
> Hi All,
>
>
>
> I would like to add timestamps printout during entrance and exit of each
> rule.
>
> Is there a way to write function so that it will run before and after every
> rule without needing to specifically add it to all rules?
>
>
>
> Regards,
>
> Hezi
>
>
>
>


More information about the rules-users mailing list