From f0f4caa7b330807252d8a86d8ff499e16f9ddd33 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Wed, 12 Jul 2006 09:23:19 +0000
Subject: [PATCH] - pre-operation plugins are not called anymore when processing synchronization operations   for ADD,DELELTE and MODIFYDN as it was already the case for MODIFY operation   This is necessary to make sure that entries use the same unique ID everywhere.

---
 opendj-sdk/opends/src/server/org/opends/server/changelog/ProtocolSession.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/changelog/ProtocolSession.java b/opendj-sdk/opends/src/server/org/opends/server/changelog/ProtocolSession.java
index 8074c89..e6a3c4f 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/changelog/ProtocolSession.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/changelog/ProtocolSession.java
@@ -27,6 +27,8 @@
 package org.opends.server.changelog;
 
 import java.io.IOException;
+import java.util.zip.DataFormatException;
+
 import org.opends.server.synchronization.SynchronizationMessage;
 
 /**
@@ -75,7 +77,10 @@
    * @throws IOException When error happened durin IO process.
    * @throws ClassNotFoundException When the data received does extend the
    *         SynchronizationMessage class.
+   * @throws DataFormatException When the data received is not formatted as a
+   *         SynchronizationMessage.
    */
   public abstract SynchronizationMessage receive()
-                  throws IOException, ClassNotFoundException;
+                  throws IOException, ClassNotFoundException,
+                         DataFormatException;
 }

--
Gitblit v1.10.0