[rules-users] use EObject for facts?

Mark Proctor mproctor at codehaus.org
Wed Aug 22 21:27:54 EDT 2007


FactTemplates where an experimental feature that are still in the 
engine, just unsupported. I wasn't happy with what we had and in order 
to get 4.0 out hand to punt. Having this working is becoming a higher 
priority now. We actually want to be able to support pluggeable data 
objects, so while it may not be possible now if they don't follow the 
JavaBean spec, you can certainly help us get the pluggeable data objects 
implementation correct.

Mark
jack wu wrote:
> Hi, I am wondering if it is possible to use the EMF EObject, instead 
> of java beans as facts. or does it require a lot of effort to make 
> that happen.
>
> what EObject has is very similar to what the Fact interface requires:
>     Object getFieldValue(String name);
>     void setFieldValue(String name,
>                        Object value);
>
> when a java beans got passed in as fact, do we internally instantiate 
> a Fact object to represent the java bean? at runetime, when rules are 
> evaluated, do all the calls to get fact field values go through the 
> Fact interface? using getFieldValue()?
>
> thanks.
>
> jack.
>
> ------------------------------------------------------------------------
> Pinpoint customers 
> <http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50>who 
> are looking for what you sell.
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070823/56e41ce3/attachment.html 


More information about the rules-users mailing list