(defclass a com.xyz.A )
(defclass b com.xyz.B )
(defrule assign
  (a ?type)
   (b ?type)
       =>
    (printout t  "Matched types" crlf)   )
                                                                            
                                                                            
 where 'type' is the property of bean A and B                               
  In Java program I want to assert facts and fire the rules.                
                                                                            
 Rete engine = ...                                                          
 engine.definstance("a", a, false);                                         
 engine.definstance("b", b, false);                                         
                                                                            
 will this fire the rules? If not how can I fire the above rules from Java  
 program?                                                                   
                                                                            
 Thanks                                                                     
 Bhaskar                                                                    
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            

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