Uploaded image for project: 'CXF Distributed OSGi'
  1. CXF Distributed OSGi
  2. DOSGI-79

RemoteServiceAdmin.getImportedEndpoints() returns collection of incorrect type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: common
    • Labels:
      None
    • Environment:

      All

      Description

      The RemoteServiceAdmin implementation returns objects of the incorrect type for method getImportedEndpoints().

      According to the RSA interface and the specification document, the return type should be Collection<ImportReference>. But the collection actually contains objects of type ImportRegistrationImpl. This results in ClassCastExceptions when attempting to use the method.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              njbartlett Neil Bartlett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: