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

Allow FeaturesService to specify options during feature uninstallation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.4
    • 2.4.0, 3.0.1, 2.3.5, 4.0.0.M3
    • karaf
    • None

    Description

      Feature unintallation causes refreshing all packages of OSGi system:

      org.osgi.service.packageadmin.PackageAdmin.refreshPackages(null)
      

      that's usually reasonable. But sometimes it'd be better to uninstall some features and then perform the refreshing.

      My case is a test scenarion when I want to iterate over available features and install+uninstall each of them. Refreshing all packages causes unexpected behaviour of e.g., PAX Exam system.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            ggrzybek Grzegorz Grzybek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: