[
https://issues.apache.org/jira/browse/OPENEJB-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Blevins closed OPENEJB-828.
---------------------------------
Resolution: Fixed
$ svn ci container/
Sending
container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/EjbResolver.java
Sending
container/openejb-core/src/test/java/org/apache/openejb/assembler/classic/EjbRefTest.java
Transmitting file data ..
Committed revision 670276.
> @EJB(name) value used to resolve ambiguous refs
> -----------------------------------------------
>
> Key: OPENEJB-828
> URL: https://issues.apache.org/jira/browse/OPENEJB-828
> Project: OpenEJB
> Issue Type: Improvement
> Components: deployment
> Affects Versions: 3.0-beta-1, 3.0-beta-2, 3.0
> Reporter: David Blevins
> Assignee: David Blevins
> Fix For: 3.0.1
>
>
> This is now possible:
> public interface Color {
> String getColor();
> }
> public static class Yellow implements Color {
> public String getColor() {
> return "Yellow";
> }
> }
> public static class Green implements Color {
> public String getColor() {
> return "Green";
> }
> }
> public static class Bean {
> @EJB Color yellow;
> @EJB Color green;
> public String getGreen() {
> return green.getColor();
> }
> public String getYellow() {
> return yellow.getColor();
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.