![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.1.10.Final, 1.1.13.Final |
|
Assignee:
|
Jozef Hartinger
|
|
Created:
|
10/Jul/13 9:26 AM
|
|
Description:
|
Injecting a session bean that specializes another session bean is failing deployment due to an ambiguous dependency exception. The reason for the exception is because the injection point injects by the interface of the EBJs. If I make the injection point type the EJB class it successfully deploys. Below is the summary of the classes that are included in the attachment.
This works ok in Weld 2.0 with GlassFish but fails on existing WLS which
is using 1.1.10.Final and also fails with 1.1.13.Final.
Class Summary:
@Local
public interface AccountBeanLocal {}
@Stateless
public class AccountBean implements AccountBeanLocal {}
@Stateless
@Specializes
public class MockAccountBean extends AccountBean {}
public class EarSpecializeServlet extends HttpServlet {}
@Inject
AccountBeanLocal bean;
...
}
If I change the injection point to the super class then it deploys fine.
@Inject
AccountBean bean;
|
|
Project:
|
Weld
|
|
Priority:
|
Major
|
|
Reporter:
|
Joseph Snyder
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues