karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1553) Command service references should be AUTO_EXPORT_INTERFACES
Date Mon, 18 Jun 2012 06:45:42 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393690#comment-13393690
] 

Jean-Baptiste Onofré commented on KARAF-1553:
---------------------------------------------

Agree, that's why I put the fix version only on 3.0.0. The problem is more about 2.3.x which
is affected as well.
                
> 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.RC1, 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message