incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1215205 - /sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/Activator.java
Date Fri, 16 Dec 2011 16:09:08 GMT
Author: cziegeler
Date: Fri Dec 16 16:09:08 2011
New Revision: 1215205

URL: http://svn.apache.org/viewvc?rev=1215205&view=rev
Log:
SLING-2289 : Implement generic retry mechanism

Modified:
    sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/Activator.java

Modified: sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/Activator.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/Activator.java?rev=1215205&r1=1215204&r2=1215205&view=diff
==============================================================================
--- sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/Activator.java
(original)
+++ sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/Activator.java
Fri Dec 16 16:09:08 2011
@@ -27,6 +27,7 @@ import org.apache.sling.installer.api.Os
 import org.apache.sling.installer.api.ResourceChangeListener;
 import org.apache.sling.installer.api.tasks.InstallTaskFactory;
 import org.apache.sling.installer.api.tasks.ResourceTransformer;
+import org.apache.sling.installer.api.tasks.RetryHandler;
 import org.apache.sling.installer.core.impl.console.OsgiInstallerWebConsolePlugin;
 import org.apache.sling.installer.core.impl.tasks.BundleTaskCreator;
 import org.osgi.framework.Bundle;
@@ -73,7 +74,8 @@ public class Activator implements Bundle
         this.osgiControllerService.start();
         final String [] serviceInterfaces = {
                 OsgiInstaller.class.getName(),
-                ResourceChangeListener.class.getName()
+                ResourceChangeListener.class.getName(),
+                RetryHandler.class.getName()
         };
         osgiControllerServiceReg = context.registerService(serviceInterfaces, osgiControllerService,
props);
 



Mime
View raw message