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

[jira] [Updated] (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:all-tabpanel ]

Grzegorz Grzybek updated KARAF-7077:
------------------------------------
    Component/s: karaf

> 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
>          Components: karaf
>            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)