We resolve the required KieSession dynamically during runtime, that means we have <b>only</b> injection points like this:

@Inject @Any
private Instance<KieSession> ksessions;

The KieCDIExtension should analyze as well the parameterized type of an injection point (in processInjectionTarget). 

The problem here is that at this time no name is present - in this case the KieCDIExtension should register all session definitions in the KieProject (unfortunatly, this interface hasn't a method to query all names).

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/KieCDIExtension-is-unable-to-resolve-dynamic-injectionspoints-e-g-using-Instance-KieSession-tp4024065.html">KieCDIExtension is unable to resolve dynamic injectionspoints (e.g. using Instance&lt;KieSession&gt;)</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>