I think James Gallogly wrote:
> 

>       The Rete class implements serlizable and for the most part it
> does a pretty good job. However Defadvice does not serialize, in
> particular the after and before part. Basically I want to call a
> function before (exit) is executed.  Defadvice seemed to be the
> ticket, but I also need to be able to serialize the Rete. Is there
> another method to 'overload' (exit)?

You can redefine any function in Jess just by defining your own
version by the same name; therefore you might just do

(deffunction exit()
   (the other function you want to call)
   (call System exit 0))

> Is there any reason why defadvice should not be serializable?

Nope. This is a bug. Thanks for the report.

> Thanks for your help and advice.
                           ^
                         /
                       /
I couldn't decide if this was a little joke.


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to