Hi,

I have in rules file
(defclass dimmer DimmerSwitchDynamic)

I want to create a new instance and bind that to it in java file.

I am calling
rete.definstance("ds", dimmerObject, false);

in clp file I have

(printout t "brightness" (call ?ds getBrightness)  crlf).

But I need to have

 (bind ?ds (new DimmerSwitchDynamic) ) in clp file

This creates new instance but it prints out 0 not the one I set the value
in definstance dimmerObject.

How can I bind from Java an instance of bean to a variable name as in above
example?


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