summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/ReplicaGroup.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-11-16 15:52:28 +0100
committerBenoit Foucher <benoit@zeroc.com>2012-11-16 15:52:28 +0100
commit44bd0c07505a6841f4315eedcab0a228a6819852 (patch)
tree7e5d08f5beb7941ea68f8659217efd2379e8acc4 /java/src/IceGridGUI/Application/ReplicaGroup.java
parentMore changes to windows installers (diff)
downloadice-44bd0c07505a6841f4315eedcab0a228a6819852.tar.bz2
ice-44bd0c07505a6841f4315eedcab0a228a6819852.tar.xz
ice-44bd0c07505a6841f4315eedcab0a228a6819852.zip
Added support for proxy-options to IceGrid adapter, replica group and object descriptors
Diffstat (limited to 'java/src/IceGridGUI/Application/ReplicaGroup.java')
-rw-r--r--java/src/IceGridGUI/Application/ReplicaGroup.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/Application/ReplicaGroup.java b/java/src/IceGridGUI/Application/ReplicaGroup.java
index 0abb730ec13..88012316e01 100644
--- a/java/src/IceGridGUI/Application/ReplicaGroup.java
+++ b/java/src/IceGridGUI/Application/ReplicaGroup.java
@@ -125,6 +125,7 @@ class ReplicaGroup extends TreeNode
_descriptor.description = clone.description;
_descriptor.objects = clone.objects;
_descriptor.loadBalancing = clone.loadBalancing;
+ _descriptor.proxyOptions = clone.proxyOptions;
}
void commit()
@@ -160,9 +161,14 @@ class ReplicaGroup extends TreeNode
{
java.util.List<String[]> attributes = new java.util.LinkedList<String[]>();
attributes.add(createAttribute("id", _descriptor.id));
-
+ if(_descriptor.proxyOptions.length() > 0)
+ {
+ attributes.add(createAttribute("proxy-options", _descriptor.proxyOptions));
+ }
+
if(_descriptor.loadBalancing == null &&
- _descriptor.description.length() == 0 && _descriptor.objects.isEmpty())
+ _descriptor.description.length() == 0 &&
+ _descriptor.objects.isEmpty())
{
writer.writeElement("replica-group", attributes);
}