Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1553

Command service references should be AUTO_EXPORT_INTERFACES

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0, 3.0.2, 2.3.6, 4.0.0.M3
    • karaf
    • None

    Description

      When the command NamespaceHandler parses commands, it currently sets the MutableServiceMetadata commandService to have ServiceMetadata.AUTO_EXPORT_ALL_CLASSES. This causes the proxying to use the ASM based subclass proxies.

      Most likely, it should use either:
      commandService.setAutoExport(ServiceMetadata.AUTO_EXPORT_INTERFACES);

      or specifically set the interface names to proxy on the MutableServiceMetadata via addInterface.

      Attachments

        1. patch.txt
          2 kB
          Daniel Kulp

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              dkulp Daniel Kulp
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: