| Anonymous | Login | Signup for a new account | 10-24-2025 04:02 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
| Status | closed | Product Version | 4.0.19 | ||||||
| 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 |
||||||||
| Additional Information | |||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 26 unique queries executed. |