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

ObserverMethodImpl needs support for EJB's whose Bean Types do not include the EJB class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.4
    • None
    • None

    Description

      ObserverMethodImpl currently attempts to get a reference doing the following:

      object = manager.getReference(component, component.getBeanClass(), creationalContext);

      This may not work for EJB's, whose bean class itself may not be a bean type of the EJB if it does not have a NIV.

      As we already know the contextual EJB we are interested in, it may be safe to just choose one of the local interfaces as long as the underlying EJB proxy supports all local interfaces. Otherwise we may need to try and determine which interface this observer method is from.

      Attachments

        Activity

          People

            bergmark Joseph E Bergmark
            bergmark Joseph E Bergmark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: