Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Future
-
Component/s: None
-
Estimated Difficulty:Low
Description
It adds the ELResolver belonging to the BeanManager of the seam-solder.jar module, when in fact the user will want the ELResolver for the bean manager from their module/app.
public class ELResolverProducer
{
@Produces
@Composite
public ELResolver getELResolver(@Resolver Instance<ELResolver> resolvers, BeanManager beanManager)
}
Gliffy Diagrams
Issue Links
- is related to
-
CDI-23
Allow BeanManager to be resolved as though you were in another bean archive
-
- Reopened
-
I'm having trouble understanding the problem. The producers for ELResolver, ELContext and Expressions are all dependent-scoped. They are presumably used to inject into an injection point in the user's application. I would assume, then, that the BeanManager that is injected into the producer is going to be the one corresponding to the injection point, which would be the right one.
If my explanation is incorrect, can you please suggest where we should be looking to solve this problem?