[jboss-jira] [JBoss JIRA] Commented: (JBRULES-931) Have defect with JavaBeans as fact.

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Aug 29 10:54:18 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-931?page=comments#action_12374412 ] 
            
Mark Proctor commented on JBRULES-931:
--------------------------------------

Try latest trunk and do read he discussions in the mailing list archive on this topic with other similar systems. The issue is often relate to the code generation framework marking classes and/or methods final, including equals and hashcode, which stops those classes working as expected in Drools.
http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules

> Have defect with JavaBeans as fact.
> -----------------------------------
>
>                 Key: JBRULES-931
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-931
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: All
>    Affects Versions: 3.0.6
>         Environment: W-XP SP2
>            Reporter: Anthony Tran
>         Assigned To: Mark Proctor
>             Fix For: 3.0.6
>
>
> I use XMLBeans to generate and compile Java classes at runtime, then parse XML files to be objects of classess which has been compiled. Those objects are added into working memory as facts in my application. JBOSS Rule engine can recognize those facts, but can't bound. 
> Ex: 
> rule
>   when
>     p:ProductService(type == "monitor")
>     u:User(product == p)
>   then
>     .....
> end
> The LHS is never fired.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list