[cdi-dev] [JBoss JIRA] (CDI-505) Clarification on getInvokedBusinessInterfact() with conflicting throws clause

Emily Jiang (JIRA) issues at jboss.org
Fri Feb 6 11:41:48 EST 2015


Emily Jiang created CDI-505:
-------------------------------

             Summary: Clarification on getInvokedBusinessInterfact() with conflicting throws clause
                 Key: CDI-505
                 URL: https://issues.jboss.org/browse/CDI-505
             Project: CDI Specification Issues
          Issue Type: Clarification
          Components: Contexts
    Affects Versions: 1.2.Final
         Environment: n/a
            Reporter: Emily Jiang
            Priority: Minor


In the CDI 1.2 spec, it states:

When a contextual instance of a session bean is obtained via the dependency injection service,the behavior of SessionContext.getInvokedBusinessInterface() is specific to the container
implementation. Portable applications should not rely upon the value returned by this method.

However, it needs to specify what should happen when an EJB has multiple interfaces with conflicting throws clauses for the same method.  The preferred outcome would be that CDI mandates getInvokedBusinessInterface and conflicting throws clauses work as expected. 



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the cdi-dev mailing list