From 4ae9f779b7fa8f1b673b0ac33370afb55a68a1a2 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Mon, 05 Jan 2009 10:39:52 +0000
Subject: [PATCH] These changes have 3 different scope: 1) This change will allow to extend the dsreplication userdata objects. 2) The set of modification will also allow to extend the server descriptor used by the internal admin 3) With the current implementation, if the server is configured in manual mode, backend cannot be disabled (admin framework will check aggregation constraint for this associated LocalBackendWorkflowElement). This will block the import for instance. The modification relaxes this constraint.
---
opends/src/server/org/opends/server/tools/dsreplication/InitializeReplicationUserData.java | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/dsreplication/InitializeReplicationUserData.java b/opends/src/server/org/opends/server/tools/dsreplication/InitializeReplicationUserData.java
index 2ccef97..ff69cfa 100644
--- a/opends/src/server/org/opends/server/tools/dsreplication/InitializeReplicationUserData.java
+++ b/opends/src/server/org/opends/server/tools/dsreplication/InitializeReplicationUserData.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008 Sun Microsystems, Inc.
+ * Copyright 2008-2009 Sun Microsystems, Inc.
*/
package org.opends.server.tools.dsreplication;
@@ -33,7 +33,7 @@
* mode the ReplicationCliArgumentParser is not enough.
*
*/
-class InitializeReplicationUserData extends ReplicationUserData
+public class InitializeReplicationUserData extends ReplicationUserData
{
private String hostNameSource;
private int portSource;
@@ -44,7 +44,7 @@
* Returns the host name of the source server.
* @return the host name of the source server.
*/
- String getHostNameSource()
+ public String getHostNameSource()
{
return hostNameSource;
}
@@ -53,7 +53,7 @@
* Sets the host name of the source server.
* @param hostNameSource the host name of the source server.
*/
- void setHostNameSource(String hostNameSource)
+ public void setHostNameSource(String hostNameSource)
{
this.hostNameSource = hostNameSource;
}
@@ -62,7 +62,7 @@
* Returns the port of the source server.
* @return the port of the source server.
*/
- int getPortSource()
+ public int getPortSource()
{
return portSource;
}
@@ -71,7 +71,7 @@
* Sets the port of the source server.
* @param portSource the port of the source server.
*/
- void setPortSource(int portSource)
+ public void setPortSource(int portSource)
{
this.portSource = portSource;
}
@@ -80,7 +80,7 @@
* Returns the host name of the destination server.
* @return the host name of the destination server.
*/
- String getHostNameDestination()
+ public String getHostNameDestination()
{
return hostNameDestination;
}
@@ -89,7 +89,7 @@
* Sets the host name of the destination server.
* @param hostNameDestination the host name of the destination server.
*/
- void setHostNameDestination(String hostNameDestination)
+ public void setHostNameDestination(String hostNameDestination)
{
this.hostNameDestination = hostNameDestination;
}
@@ -98,7 +98,7 @@
* Returns the port of the destination server.
* @return the port of the destination server.
*/
- int getPortDestination()
+ public int getPortDestination()
{
return portDestination;
}
@@ -107,7 +107,7 @@
* Sets the port of the destination server.
* @param portDestination the port of the destination server.
*/
- void setPortDestination(int portDestination)
+ public void setPortDestination(int portDestination)
{
this.portDestination = portDestination;
}
--
Gitblit v1.10.0