Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004636 [Resin] minor always 06-21-11 10:33 07-05-11 10:39
Reporter ChrisC View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.20 Product Version 4.0.19
  Product Build
Summary 0004636: CDI Alternatives don't work when injecting into EJBs
Description When you do @Inject and there is an alternative implementation declared (with annotation + entry in beans.xml), a correct implementation is injected.
However, if you do similar injection inside an EJB, you will get standard implementation, not the alternative.

Tested with a @Stateless and @Singleton EJB.
Attached example maven project
Steps To Reproduce
Additional Information
Attached Files  resin-test-alternative.tar.gz [^] (2,098 bytes) 06-21-11 10:33

- Relationships

- Notes
(0005349)
ferg
07-05-11 10:39

ioc/0604
 

- Issue History
Date Modified Username Field Change
06-21-11 10:33 ChrisC New Issue
06-21-11 10:33 ChrisC File Added: resin-test-alternative.tar.gz
06-21-11 10:33 ChrisC Issue Monitored: ChrisC
07-05-11 10:39 ferg Note Added: 0005349
07-05-11 10:39 ferg Assigned To  => ferg
07-05-11 10:39 ferg Status new => closed
07-05-11 10:39 ferg Resolution open => fixed
07-05-11 10:39 ferg Fixed in Version  => 4.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker