Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-09-23 06:53:45 +0000
committerEike Stepper2010-09-23 06:53:45 +0000
commit0cd622fe5a73fe52102fab890da165941eeb26ea (patch)
treea0bb24d424e2182c57178759d396a5834ada99cf
parentf0507f5c7a843292f29dfd09eb6d2e75ef34b07e (diff)
downloadcdo-0cd622fe5a73fe52102fab890da165941eeb26ea.tar.gz
cdo-0cd622fe5a73fe52102fab890da165941eeb26ea.tar.xz
cdo-0cd622fe5a73fe52102fab890da165941eeb26ea.zip
[325928] Provide FailoverMonitor server and FailoverAgents to coordinate fail-over scenarios
https://bugs.eclipse.org/bugs/show_bug.cgi?id=325928
-rw-r--r--plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/FailoverCDOSessionImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/FailoverCDOSessionImpl.java b/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/FailoverCDOSessionImpl.java
index a8dbe76f3b..a0693b3603 100644
--- a/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/FailoverCDOSessionImpl.java
+++ b/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/FailoverCDOSessionImpl.java
@@ -33,7 +33,9 @@ public class FailoverCDOSessionImpl extends CDONet4jSessionImpl
protected void sessionProtocolDeactivated()
{
fireFailoverEvent(CDOSessionFailoverEvent.Type.STARTED);
+ unhookSessionProtocol();
getConfiguration().failover(FailoverCDOSessionImpl.this);
+ hookSessionProtocol();
fireFailoverEvent(CDOSessionFailoverEvent.Type.FINISHED);
}

Back to the top