felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1594609 - /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java
Date Wed, 14 May 2014 15:41:00 GMT
Author: pderop
Date: Wed May 14 15:40:59 2014
New Revision: 1594609

URL: http://svn.apache.org/r1594609
Log:
Added setExecutor method

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java?rev=1594609&r1=1594608&r2=1594609&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/FilterComponent.java Wed
May 14 15:40:59 2014
@@ -21,6 +21,7 @@ package dm.impl;
 import java.util.Dictionary;
 import java.util.List;
 import java.util.concurrent.CopyOnWriteArrayList;
+import java.util.concurrent.Executor;
 
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceRegistration;
@@ -269,9 +270,14 @@ public class FilterComponent implements 
     }
 
     @Override
-    public SerialExecutor getExecutor() {
+    public Executor getExecutor() {
         return m_component.getExecutor();
     }
+    
+    public Component setExecutor(Executor executor) {
+        m_component.setExecutor(executor);
+        return this;
+    }
 
     @Override
     public boolean isAvailable() {



Mime
View raw message