Class BundledScriptTrackerHC

java.lang.Object
org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTrackerHC
All Implemented Interfaces:
org.apache.felix.hc.api.HealthCheck

public class BundledScriptTrackerHC extends Object implements org.apache.felix.hc.api.HealthCheck
  • Constructor Details

  • Method Details

    • execute

      public org.apache.felix.hc.api.Result execute()
      Specified by:
      execute in interface org.apache.felix.hc.api.HealthCheck
    • filterForExistingBundles

      protected static Set<String> filterForExistingBundles(org.osgi.framework.BundleContext bundleContext, Set<String> expectedBundles)
      Return the symbolic names of bundles which are provided via {{code expectedBundles}} and present
      Parameters:
      bundleContext - a bundleContext
      expectedBundles - the symbolic names of bundles to check for
      Returns:
      the symbolic names of present bundles