|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4636 | minor | always | 06-21-11 10:33 | 07-05-11 10:39 | |
|
|
|||||
| Reporter: | ChrisC | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.19 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.20 | ||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: |
|
||||
| Notes | |||||
|
|
|||||
|
|
||||