Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-578

Register SERVICE_ENDPOINT last so it doesn't get overriden

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.7.0
    • container system, server
    • None

    Description

      CoreDeploymentInfo.addInterface() function registers the class and its super interfaces with a given interface type. It also always overwrites previous registrations. That means that the registration order might matter in cases two classes of different type share the same interfaces. For example, SEI is set to Foo class, and the remote EJB interface 'Bar' implements 'Foo' interface.

      The attached patch makes the SEI registration last to ensure the class is registered with right interface type (as the interface type is used to determine if it is a web service call or not)/

      Attachments

        1. OPENEJB-578.patch
          0.9 kB
          Jarek Gawor

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: