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

Command service references should be AUTO_EXPORT_INTERFACES

    Details

      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

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                dkulp Daniel Kulp
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: