What and how, exactly, are you trying to write in your DRL?<br>-W<br><br><div class="gmail_quote">On 17 November 2011 12:48, kapokfly <span dir="ltr"><<a href="mailto:ivan.jiang.ww@foxmail.com">ivan.jiang.ww@foxmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">does drools support Class type parameter?<br>
<br>
In java:<br>
ServiceLocator.java:<br>
void myService(Class objectType);<br>
<br>
In Drools:<br>
serviceLocator.myService(Person.class)<br>
<br>
It always complains 'unable to resolve method using strict-mode'.<br>
<br>
Change to other type like String will get it through.<br>
<br>
-----<br>
Ivan, your Panda, forever<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/does-drools-support-Class-type-parameter-myService-Class-objectType-tp3515507p3515507.html" target="_blank">http://drools.46999.n3.nabble.com/does-drools-support-Class-type-parameter-myService-Class-objectType-tp3515507p3515507.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>