From 74023634617762408423a44c8dd01ee050fef584 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 03 Jun 2013 09:13:08 +0000
Subject: [PATCH] Fix OPENDJ-866 Local RS is named differently to remote RS under cn=replication,cn=monitor

---
 opends/src/server/org/opends/server/replication/service/ReplicationDomain.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java b/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
index cf49fc3..ee69055 100644
--- a/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
+++ b/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
@@ -3565,6 +3565,18 @@
   }
 
   /**
+   * Returns the local address of this replication domain, or the empty string
+   * if it is not yet connected.
+   *
+   * @return The local address.
+   */
+  String getLocalUrl()
+  {
+    final ReplicationBroker tmp = broker;
+    return tmp != null ? tmp.getLocalUrl() : "";
+  }
+
+  /**
    * Returns the total number of entries to be processed when a total update
    * is in progress.
    *

--
Gitblit v1.10.0