You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/11/11 18:04:24 UTC
[jira] [Commented] (KARAF-1553) Command service references should
be AUTO_EXPORT_INTERFACES
[ https://issues.apache.org/jira/browse/KARAF-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819125#comment-13819125 ]
Jean-Baptiste Onofré commented on KARAF-1553:
---------------------------------------------
Switching to the AUTO_EXPORT_INTERFACES break the help command (no problem to execute help, but help doesn't display anything). I gonna take a look or postpone to 3.0.1.
> Command service references should be AUTO_EXPORT_INTERFACES
> -----------------------------------------------------------
>
> Key: KARAF-1553
> URL: https://issues.apache.org/jira/browse/KARAF-1553
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Reporter: Daniel Kulp
> Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.0
>
> Attachments: patch.txt
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)