incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r966146 - /sling/trunk/contrib/extensions/bgservlets/src/main/java/org/apache/sling/bgservlets/impl/ExecutionEngineImpl.java
Date Wed, 21 Jul 2010 09:09:25 GMT
Author: bdelacretaz
Date: Wed Jul 21 09:09:25 2010
New Revision: 966146

URL: http://svn.apache.org/viewvc?rev=966146&view=rev
Log:
SLING-550 - lifecycle methods -> protected

Modified:
    sling/trunk/contrib/extensions/bgservlets/src/main/java/org/apache/sling/bgservlets/impl/ExecutionEngineImpl.java

Modified: sling/trunk/contrib/extensions/bgservlets/src/main/java/org/apache/sling/bgservlets/impl/ExecutionEngineImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/bgservlets/src/main/java/org/apache/sling/bgservlets/impl/ExecutionEngineImpl.java?rev=966146&r1=966145&r2=966146&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/bgservlets/src/main/java/org/apache/sling/bgservlets/impl/ExecutionEngineImpl.java
(original)
+++ sling/trunk/contrib/extensions/bgservlets/src/main/java/org/apache/sling/bgservlets/impl/ExecutionEngineImpl.java
Wed Jul 21 09:09:25 2010
@@ -88,7 +88,7 @@ public class ExecutionEngineImpl impleme
         }
     }
 
-    public void activate(ComponentContext context) {
+    protected void activate(ComponentContext context) {
         // TODO configurable!
         final int corePoolSize = 2;
         int maximumPoolSize = 2;
@@ -105,7 +105,7 @@ public class ExecutionEngineImpl impleme
                 keepAliveTime, unit, workQueue, handler);
     }
 
-    public void deactivate(ComponentContext context) {
+    protected void deactivate(ComponentContext context) {
         // TODO how to shutdown executor?
         executor = null;
 



Mime
View raw message