[rules-users] does drools support Class type parameter? myService(Class objectType)

kapokfly ivan.jiang.ww at foxmail.com
Thu Nov 17 06:48:05 EST 2011


does drools support Class type parameter? 

In java:
ServiceLocator.java:
void myService(Class objectType);

In Drools:
serviceLocator.myService(Person.class)

It always complains 'unable to resolve method using strict-mode'.

Change to other type like String will get it through. 

-----
Ivan, your Panda, forever
--
View this message in context: http://drools.46999.n3.nabble.com/does-drools-support-Class-type-parameter-myService-Class-objectType-tp3515507p3515507.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list