karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-1553) Command service references should be AUTO_EXPORT_INTERFACES
Date Fri, 11 Jul 2014 11:30:05 GMT

     [ https://issues.apache.org/jira/browse/KARAF-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet resolved KARAF-1553.
------------------------------------

    Resolution: Fixed

> 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: Guillaume Nodet
>             Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>         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.2#6252)

Mime
View raw message