You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by js...@apache.org on 2026/08/15 13:32:31 UTC
(sling-org-apache-sling-servlets-resolver) 07/28: SLING-12599 : Make dependency to Apache Felix HC optional
This is an automated email from the ASF dual-hosted git repository.
jsedding pushed a commit to branch resolver-2.x-backports
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-resolver.git
commit 9696a2ba7649f1605341c5d493feeb3fd9f9968e
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Mar 31 08:56:03 2025 +0200
SLING-12599 : Make dependency to Apache Felix HC optional
(cherry picked from commit a4746506528aa8a7411d675c17d684e67ff6d36a)
---
.../sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java b/src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java
index 9a7d3a4..03e2d90 100644
--- a/src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java
+++ b/src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java
@@ -31,12 +31,14 @@ import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
+import org.osgi.service.component.annotations.ConfigurationPolicy;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.metatype.annotations.AttributeDefinition;
import org.osgi.service.metatype.annotations.Designate;
import org.osgi.service.metatype.annotations.ObjectClassDefinition;
@Component(
+ configurationPolicy = ConfigurationPolicy.REQUIRE,
property = {
"felix.healthcheck.name=BundledScriptTracker",
},