<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Just a reminder this list has moved to Google Groups:<div><a href="http://drools.org/community/forum.html">http://drools.org/community/forum.html</a></div><div><a href="https://groups.google.com/forum/#!forum/drools-usage">https://groups.google.com/forum/#!forum/drools-usage</a></div><div><br></div><div>Mark</div><div><br><div><div>On 20 Aug 2014, at 22:27, Stephen Masters &lt;<a href="mailto:stephen.masters@me.com">stephen.masters@me.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>May be worth checking what class/interface your bean is. In the code that works, you are casting it to&nbsp;<span style="background-color: rgb(255, 255, 255);">StatelessKieSession, but I suspect that the object which was injected was a KieSession.</span></div><div><span style="background-color: rgb(255, 255, 255);"><br></span></div><div><span style="background-color: rgb(255, 255, 255);">Steve</span></div><div><br></div><div><br></div><br><div><div>On 19 Aug 2014, at 15:17, Ged Byrne &lt;<a href="mailto:ged.byrne@gmail.com">ged.byrne@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Matt,<div><br></div><div>This may be a problem with Spring rather than KIE.</div><div><br></div><div>Take a look at the following:</div><div>&nbsp;&nbsp;* <a href="https://jira.spring.io/browse/SPR-9786" target="_blank">https://jira.spring.io/browse/SPR-9786</a><br>

</div><div>&nbsp; *&nbsp;<a href="http://www.javabeat.net/annotation-based-bean-wiring-autowired-in-spring-framework/" target="_blank">http://www.javabeat.net/annotation-based-bean-wiring-autowired-in-spring-framework/</a></div><div>

<br></div><div>Regards,&nbsp;</div><div><br></div><div><br></div><div>Ged</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 16 August 2014 18:56, mattmadhavan <span dir="ltr">&lt;<a href="mailto:mmadhavan@facs.org" target="_blank">mmadhavan@facs.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I have the following kie-spring xml definition to test my custom evaluater.<br>
<br>
<br>
<br>
I am not able to inject neither the *IN_LIST_KBase *nor the<br>
/IN_LIST_KSession/ in my test class as follows:<br>
<br>
<br>
<br>
But i am able to look it up via the applicationContext as follows:<br>
<br>
<br>
I am bit confused! Any ideas please?<br>
<br>
Thanks in advance!<br>
<br>
Matt'M<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.html" target="_blank">http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.html</a><br>

Sent from the Drools: User forum mailing list archive at <a href="http://nabble.com/">Nabble.com</a>.<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>
</blockquote></div><br></div>
_______________________________________________<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">https://lists.jboss.org/mailman/listinfo/rules-users</a></blockquote></div><br></div>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></div></body></html>