Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2010-09-03 16:28:12 +0000
committerslewis2010-09-03 16:28:12 +0000
commitda8b67fcddee3914589073a13dbeeca7cf12e938 (patch)
treea0d1ef9db9ae876840a5852f3be2548dc50cd8a2
parent9b7e0cebbcf7394a42c0ee23026b663536b8b35f (diff)
downloadorg.eclipse.ecf-da8b67fcddee3914589073a13dbeeca7cf12e938.tar.gz
org.eclipse.ecf-da8b67fcddee3914589073a13dbeeca7cf12e938.tar.xz
org.eclipse.ecf-da8b67fcddee3914589073a13dbeeca7cf12e938.zip
Changed default executorType to jobsR-Release_3_3-sdk_feature-18-2010_09_03
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
index 0f93e2049..87294b9df 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
@@ -1088,8 +1088,8 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
return request;
}
- // system property allowing the executorType to be configured. Currently types are: jobs, threads.
- private static final String DEFAULT_EXECUTOR_TYPE = System.getProperty("org.eclipse.ecf.provider.remoteservice.executorType", "immediate"); //$NON-NLS-1$ //$NON-NLS-2$
+ // system property allowing the executorType to be configured. Currently types are: jobs, threads, immediate.
+ private static final String DEFAULT_EXECUTOR_TYPE = System.getProperty("org.eclipse.ecf.provider.remoteservice.executorType", "jobs"); //$NON-NLS-1$ //$NON-NLS-2$
private IExecutor requestExecutor;
@@ -1110,7 +1110,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
};
} else if (DEFAULT_EXECUTOR_TYPE.equals("immediate")) { //$NON-NLS-1$
executor = new ImmediateExecutor();
- } else {
+ } else if (DEFAULT_EXECUTOR_TYPE.equals("threads")) { //$NON-NLS-1$
executor = new ThreadsExecutor() {
protected String createThreadName(IProgressRunnable runnable) {
return "Remote Request Handler - " + request.getCall().getMethod() + ":" + request.getRequestId(); //$NON-NLS-1$ //$NON-NLS-2$

Back to the top