Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-505

Clarification on getInvokedBusinessInterfact() with conflicting throws clause

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 1.2.Final
    • Contexts
    • None

      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.

            Unassigned Unassigned
            emijiang6 Emily Jiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: