Class BundledScriptTrackerHC
java.lang.Object
org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTrackerHC
- All Implemented Interfaces:
org.apache.felix.hc.api.HealthCheck
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface -
Field Summary
Fields inherited from interface org.apache.felix.hc.api.HealthCheck
ASYNC_CRON_EXPRESSION, ASYNC_INTERVAL_IN_SEC, KEEP_NON_OK_RESULTS_STICKY_FOR_SEC, MBEAN_NAME, NAME, RESULT_CACHE_TTL_IN_MS, TAGS -
Constructor Summary
ConstructorsConstructorDescriptionBundledScriptTrackerHC(org.osgi.framework.BundleContext context, BundledScriptTracker tracker, BundledScriptTrackerHC.BundledScriptTrackerHCConfig config) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.felix.hc.api.Resultexecute()filterForExistingBundles(org.osgi.framework.BundleContext bundleContext, Set<String> expectedBundles) Return the symbolic names of bundles which are provided via {{code expectedBundles}} and present
-
Constructor Details
-
BundledScriptTrackerHC
public BundledScriptTrackerHC(org.osgi.framework.BundleContext context, BundledScriptTracker tracker, BundledScriptTrackerHC.BundledScriptTrackerHCConfig config)
-
-
Method Details
-
execute
public org.apache.felix.hc.api.Result execute()- Specified by:
executein interfaceorg.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 bundleContextexpectedBundles- the symbolic names of bundles to check for- Returns:
- the symbolic names of present bundles
-