mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
07.51.2008 9f642f4b2d2e7c9a234ddbe7476cd6866bbd4b0a
Fix for issue 3571 (Control Panel does not reflect the changes in the windows service configuration).

The equality method of ServerDescriptor has been updated so that the panels are notified when there is a modification in the windows service configuration.
1 files modified
8 ■■■■■ changed files
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java 8 ●●●●● patch | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java
@@ -36,6 +36,8 @@
import java.util.Map;
import java.util.Set;
import org.opends.guitools.controlpanel.util.Utilities;
import org.opends.server.types.AttributeType;
import org.opends.server.types.DN;
import org.opends.server.types.ObjectClass;
@@ -327,6 +329,12 @@
            equals = areSchemasEqual(schema, desc.getSchema());
          }
        }
        if (equals && Utilities.isWindows())
        {
          equals =
            desc.isWindowsServiceEnabled() == isWindowsServiceEnabled();
        }
      }
    }
    else