Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-987

improve getReference type handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.6
    • 1.2.7, 1.5.0
    • None
    • None

    Description

      If no specific bean type is given for getReference we currently use bean.getBeanClass(). But this is actually wrong for producer methods and producer fields as those will return the containing class.

      This is only a minor enhancement as it only hits us if we enter the getEjbOrJmsProxyReference path. This gets used if we @Inject a pure EJB in which case the EJB container might not even take this information into account.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: