Details
-
Enhancement
-
Resolution: Done
-
Critical
-
6.0.0
Description
Description of problem:
Currently KieCDIExtension will inject kieSession, KieBase or KieContainer to mandatory injection points:
@Inject
@KSession
private KieSession ksession
although sometimes it might be worth to allow optional injections as well to be aligned with CDI in general:
@Inject
@KSession
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):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info: