[cdi-dev] [JBoss JIRA] (CDI-362) No-interface view EJB proxying rules are less strict than CDI, leading to odd error reporting

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Apr 2 10:57:42 EDT 2013


Pete Muir created CDI-362:
-----------------------------

             Summary: No-interface view EJB proxying rules are less strict than CDI, leading to odd error reporting
                 Key: CDI-362
                 URL: https://issues.jboss.org/browse/CDI-362
             Project: CDI Specification Issues
          Issue Type: Bug
            Reporter: Pete Muir


E.g.

// allowed by EJB
// disallowed by CDI
@Stateful @RequestScoped
public class MyBean {
    final void m() { };
}

public class Other {
   @EJB MyBean field; // PASS
   @Inject MyBean field; // FAIL - unproxyable
}


--
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


More information about the cdi-dev mailing list