Re: [rules-users] Apply role to whole class hierarchy

2012-07-30 Thread Joerg Henne
After some debugging I was able to shed some light on what causes the problem, even if I don't fully understand it. The problem is produced by the event base class, which is declared with @role(event), i.e. (VSCPEvent) living in a different package than the ButtonEvent. If I move then into the same

Re: [rules-users] Apply role to whole class hierarchy

2012-07-27 Thread Joerg Henne
Thanks for your help, Edson! We are using drools 5.4.0.Final via maven. Maybe I am missing something, so here's a quick overview of what we do. We have a model class ButtonEvent which is derived like this: ButtonEvent -> ZonedEvent -> VSCPEvent Then there's a rulebase with something like this:

[rules-users] Apply role to whole class hierarchy

2012-07-26 Thread Joerg Henne
Hi all, we are processing events through a Fusion rule base. To be recognized as such, model classes must be declared as @role(event). We are using a rather extensive hierarchy of events, all derived from a single abstract class. Unfortunately, it doesn't seem to be possible to declare just this b