>> How would I call a method I wrote in Java
>> when a rule is fired? Let's say that if
>> I have a rule:
>> (defrule rule1
>> (bob ?a)
>> =>
>> (Right here call a method)
>> Such that if I do
>> (assert (bob stewart))
>> I could call a funtion that would
>> do something else. Do I need to look
>> into the jess event action listeners??
The manual outlines some of the options here:
http://herzberg.ca.sandia.gov/jess/docs/60a8/language.html#reflection
and here:
http://herzberg.ca.sandia.gov/jess/docs/60a8/library.html#beanprops
and here:
http://herzberg.ca.sandia.gov/jess/docs/60a8/functions.html#call
If that doesn't help, contact me offline and I'll send you some examples.
Good luck!
alan
Alan Moore
mailto:[EMAIL PROTECTED]
http://www.closedsource.com/alan/resume.html
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
---------------------------------------------------------------------
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]
---------------------------------------------------------------------