Hi,
I have declared a fact in a drl file as follows:
package a.b.c
declare MyFact
vehicle : Vehicle
end
The corresponding class file doesn't exists: it is created on the fly by
drools at runtime. The class name should be a.b.c.MyFact, but the
classloader cannot find it by using:
Class c = Class.forName("a.b.c.MyFact");
Is it possible to do that and how? I don't want to create the class because
it is used only by rules inside the drl file, but I would like to write a
test case for them.
Thank you
--
MM
--
View this message in context:
http://drools.46999.n3.nabble.com/Instantiate-fact-class-declared-only-in...
Sent from the Drools: User forum mailing list archive at
Nabble.com.