servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1000821 - /servicemix/smx4/nmr/trunk/nmr/osgi/src/main/java/org/apache/servicemix/nmr/osgi/ExecutorConfigurator.java
Date Fri, 24 Sep 2010 11:44:26 GMT
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)
{



Mime
View raw message