Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-11-13 07:26:26 -0500
committerEike Stepper2008-11-13 07:26:26 -0500
commit427bc7292fe01cf106c61c12875755d680f876f5 (patch)
treea1f80236e829a2be6d4911062d4af7b71d0f362d /plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util
parent155100894c6ebf486cd3b68180e9a1da76b118de (diff)
downloadcdo-427bc7292fe01cf106c61c12875755d680f876f5.tar.gz
cdo-427bc7292fe01cf106c61c12875755d680f876f5.tar.xz
cdo-427bc7292fe01cf106c61c12875755d680f876f5.zip
[251751] Provide progress monitoring for commit operations
https://bugs.eclipse.org/bugs/show_bug.cgi?id=251751
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util')
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ChannelInjector.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ChannelInjector.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ChannelInjector.java
index c5b8c154b6..fbc04a9020 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ChannelInjector.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/ChannelInjector.java
@@ -13,6 +13,7 @@ package org.eclipse.emf.internal.cdo.util;
import org.eclipse.emf.internal.cdo.CDOSessionImpl;
import org.eclipse.net4j.connector.IConnector;
+import org.eclipse.net4j.signal.failover.NOOPFailOverStrategy;
import org.eclipse.net4j.util.StringUtil;
import org.eclipse.net4j.util.container.IElementProcessor;
import org.eclipse.net4j.util.container.IManagedContainer;
@@ -36,10 +37,7 @@ public class ChannelInjector implements IElementProcessor
if (element instanceof CDOSessionImpl)
{
CDOSessionImpl session = (CDOSessionImpl)element;
- if (session.getConnector() == null)
- {
- session.setConnector(getConnector(container, description));
- }
+ session.getProtocol().setFailOverStrategy(new NOOPFailOverStrategy(getConnector(container, description)));
}
return element;

Back to the top