Dear Jess Developers and Users,
I'm having some troubles trying to implement in Jess
a user-function previously defined in Java.

Every java function declared without a constructor method
can be correclty loaded into the Jess engine, by the command
(load-function [fully_qualified_function_name]) and,
therefore, can be used into the Jess engine by the name
defined in java using the getName() method.

Whenever I declare a Java function with a constructor method,
the command (load-function ...) gives me an error
("class cannot be instantiated") and, as a consequence,
the name set by the getName() method cannot be used in Jess.

Any hints about this problem?

Many thanks in advance,
  Marco Zappatore


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