You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/23 11:08:00 UTC

[jira] [Commented] (KARAF-7077) Add "verbose" option to bundle:find-class command

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

ASF subversion and git services commented on KARAF-7077:
--------------------------------------------------------

Commit d1f7768d495bb1b9b21cc31f092843e3adcdafda in karaf's branch refs/heads/master from Grzegorz Grzybek
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=d1f7768 ]

[KARAF-7077] Add -v option to bundle:find-class command


> Add "verbose" option to bundle:find-class command
> -------------------------------------------------
>
>                 Key: KARAF-7077
>                 URL: https://issues.apache.org/jira/browse/KARAF-7077
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Grzegorz Grzybek
>            Assignee: Grzegorz Grzybek
>            Priority: Major
>             Fix For: 4.3.1
>
>
> {{find-class}} command simply shows resources visible through different bundles - we can't tell whether they loaded from given bundle or from wired bundles.
> I have a change that shows more information, like:
> {noformat}
> karaf@root()> find-class -v javax.activation.DataSource                                                                                                                                                                                        
> Jackson module: JAXB Annotations (60)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
> Jakarta Activation (62)
>   Resources from this bundle (and its fragments) content:
>     bundle://9601049d-67ec-40c2-8c02-b50d63f5fae5_62.0:0/javax/activation/DataSource.class
> istack common utility code runtime (63)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
> Jakarta Mail API jar (64)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
> Apache CXF Core (68)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Apache ServiceMix :: Bundles :: jaxb-xjc (90))
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Apache ServiceMix :: Bundles :: jaxb-runtime (89))
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Apache CXF Runtime HTTP Transport (77))
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Apache CXF Runtime JAX-RS Frontend (69))
> Apache CXF Runtime JAX-RS Frontend (69)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Apache CXF Core (68))
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Apache CXF Runtime HTTP Transport (77))
> Apache CXF Runtime HTTP Transport (77)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Apache CXF Core (68))
> Apache ServiceMix :: Bundles :: jaxb-runtime (89)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
> Apache ServiceMix :: Bundles :: jaxb-xjc (90)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Apache ServiceMix :: Bundles :: jaxb-runtime (89))
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
> Apache ServiceMix :: Specs :: SAAJ API 1.4 (94)
>   Resources from bundle or wired bundles:
>     javax/activation/DataSource.class (visible through osgi.wiring.package from Jakarta Activation (62))
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)