You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2013/12/23 17:12:01 UTC

svn commit: r1553136 - /sling/trunk/bundles/extensions/healthcheck/core/src/main/java/org/apache/sling/hc/core/impl/executor/HealthCheckExecutorImpl.java

Author: cziegeler
Date: Mon Dec 23 16:12:01 2013
New Revision: 1553136

URL: http://svn.apache.org/r1553136
Log:
SLING-3278 : Provide a HealthCheckExecutor service. Applied modified patch from Georg Henzler. I've changed the methods names and signatures of the executor service and did some implementation changes and code clean ups. This is not the final version, the commit should rather help going forward

Modified:
    sling/trunk/bundles/extensions/healthcheck/core/src/main/java/org/apache/sling/hc/core/impl/executor/HealthCheckExecutorImpl.java

Modified: sling/trunk/bundles/extensions/healthcheck/core/src/main/java/org/apache/sling/hc/core/impl/executor/HealthCheckExecutorImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/healthcheck/core/src/main/java/org/apache/sling/hc/core/impl/executor/HealthCheckExecutorImpl.java?rev=1553136&r1=1553135&r2=1553136&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/healthcheck/core/src/main/java/org/apache/sling/hc/core/impl/executor/HealthCheckExecutorImpl.java (original)
+++ sling/trunk/bundles/extensions/healthcheck/core/src/main/java/org/apache/sling/hc/core/impl/executor/HealthCheckExecutorImpl.java Mon Dec 23 16:12:01 2013
@@ -57,10 +57,10 @@ import org.slf4j.LoggerFactory;
  * Runs health checks for a given list of tags in parallel.
  *
  */
-@Service
+@Service(value = HealthCheckExecutor.class)
 @Component(label = "Apache Sling Health Check Executor",
         description = "Runs health checks for a given list of tags in parallel.",
-        metatype = true)
+        metatype = true, immediate = true)
 public class HealthCheckExecutorImpl implements HealthCheckExecutor {
 
     private final Logger logger = LoggerFactory.getLogger(this.getClass());