I have an instance of a class (which is a Java Bean) defined from Java code:
Aaa aaa = new Aaa("theAaa");
I want the instance introduced in Jess working memory as a Jess fact. The
following seems incorrect, since it just is defining another new instance:
Funcall f = new Funcall("definstance", rete);
f.add(new Value("aaa", RU.ATOM));
f.add(new Value(aaa));
f.execute(rete.getGlobalContext());
So how do I introduce aaa into Jess?
Thanks,
John Mela
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------