Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2184

Pass InternalEjbDescriptor.delegate() to all EjbServices methods

    Details

      Description

      Right now, it's not explicitly defined whether EjbDescriptor instances passed to resolveEjb() and registerInterceptors() are of the same implementation as provided by BeanDeploymentArchive.getEjbs(). Some integrators expect to receive the same instances as provided. However, internally an EjbDescriptor wrapper is used. And for resolveEjb() a delegate is always passed (see also SessionBean.createReference()) but for registerInterceptors() the internal wrapper is passed.

      We should pass the delegate to all methods to be consistent.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: