Reputation: 11
Having a bean defined as @RequestScoped bean which is injected via @Inject at different Levels.
There are some singleton which aren't using Helidon/CDI scoped annotations. When using CDI.current.select.... returned Object is different than what gets Injected via @Inject on CDI Aware beans.
The issue is when using CDI.current().select(...).get() within the same flow of the http request, object returned are different. How to get the same bean which is available via @Inject on non-cdi annotated classes.
Upvotes: 1
Views: 45