Jess doesn't have any special support for collections as JavaBeans
properties, and in fact, I'd go so far as to say it doesn't work very
well. There's no way for Jess to be notified when your List is
modified by code outside of Jess, for example, or, as you note, if the
objects it contains
The only way to get around java collection limitations would be to
use AspectJ and weave in java beans property change support. You'd
have to assert each list to jess.rete. Not sure if that will work, but
it's a thought.
peter
On Fri, Mar 19, 2010 at 8:31 AM, Ernest Friedman-Hill
Hi,
Let's say I have this class wich instances will be added to a Rete engine :
public class A {
public int getI() { return i; }
public ListB getBs() { return Collections.unmodifiableList(bs);
}
private int i; private ListB bs;
A(int i) { this.i =