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 who are looking for what you sell.

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users