you have to wrap it within an eval - we have to do this in a number of places.
Thomas > -----Original Message----- > From: rules-users-boun...@lists.jboss.org [mailto:rules-users- > boun...@lists.jboss.org] On Behalf Of kapokfly > Sent: 17 November 2011 13:15 > To: rules-users@lists.jboss.org > Subject: Re: [rules-users] does drools support Class type parameter? > myService(Class objectType) > > our existing java implementation using reflection which requires Class. > > Are you saying invoking java code with a Class type parameter from DRL is > not supported? > > ----- > Ivan, your Panda, forever > -- > View this message in context: http://drools.46999.n3.nabble.com/does- > drools-support-Class-type-parameter-myService-Class-objectType- > tp3515507p3515712.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users ************************************************************************************** This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00 ************************************************************************************** _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users