You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2010/09/24 13:44:26 UTC

svn commit: r1000821 - /servicemix/smx4/nmr/trunk/nmr/osgi/src/main/java/org/apache/servicemix/nmr/osgi/ExecutorConfigurator.java

Author: jbonofre
Date: Fri Sep 24 11:44:25 2010
New Revision: 1000821

URL: http://svn.apache.org/viewvc?rev=1000821&view=rev
Log:
[SMX4NMR-224] ExecutorConfigurator doesn't provide executorFactory property.

Modified:
    servicemix/smx4/nmr/trunk/nmr/osgi/src/main/java/org/apache/servicemix/nmr/osgi/ExecutorConfigurator.java

Modified: servicemix/smx4/nmr/trunk/nmr/osgi/src/main/java/org/apache/servicemix/nmr/osgi/ExecutorConfigurator.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/osgi/src/main/java/org/apache/servicemix/nmr/osgi/ExecutorConfigurator.java?rev=1000821&r1=1000820&r2=1000821&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/osgi/src/main/java/org/apache/servicemix/nmr/osgi/ExecutorConfigurator.java (original)
+++ servicemix/smx4/nmr/trunk/nmr/osgi/src/main/java/org/apache/servicemix/nmr/osgi/ExecutorConfigurator.java Fri Sep 24 11:44:25 2010
@@ -31,14 +31,14 @@ import org.osgi.service.cm.ManagedServic
  */
 public class ExecutorConfigurator implements ManagedService {
 
-    private ExecutorFactoryImpl factory;
+    private ExecutorFactoryImpl executorFactory;
 
-    public ExecutorFactoryImpl getFactory() {
-        return factory;
+    public ExecutorFactoryImpl getExecutorFactory() {
+        return executorFactory;
     }
 
-    public void setFactory(ExecutorFactoryImpl factory) {
-        this.factory = factory;
+    public void setExecutorFactory(ExecutorFactoryImpl factory) {
+        this.executorFactory = factory;
     }
 
     public void updated(Dictionary properties) throws ConfigurationException {
@@ -84,8 +84,8 @@ public class ExecutorConfigurator implem
                 defaultConfig.setBypassIfSynchronous(getBool(properties, key));
             }
         }
-        factory.setDefaultConfig(defaultConfig);
-        factory.setConfigs(configs);
+        executorFactory.setDefaultConfig(defaultConfig);
+        executorFactory.setConfigs(configs);
     }
 
     private ExecutorConfig getConfig(Map<String, ExecutorConfig> configs, String key) {