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

Clarification on getInvokedBusinessInterfact() with conflicting throws clause

    XMLWordPrintable

Details

    • Clarification
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Out of Date
    • 1.2.Final
    • None
    • Contexts
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: