Description of problem:
Currently KieCDIExtension will inject kieSession, KieBase or KieContainer to mandatory injection points:
private KieSession ksession
although sometimes it might be worth to allow optional injections as well to be aligned with CDI in general:
private Instance<KieSession> ksession
This is one of the enhancement needed for WebSphere support as apparently there is a bug in CDI implementation used by WebShpere that does not provide injection points when CDI extension is used for managed beans - POJO. This is still under evaluation but wanted to explain why it is required.
Version-Release number of selected component (if applicable):
Steps to Reproduce: