Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7077

Add "verbose" option to bundle:find-class command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.3.1
    • karaf
    • None

    Description

      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:

      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))
      

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            ggrzybek Grzegorz Grzybek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: