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

jvergara
07.51.2008 9e3747a3603d7cfd19a110ec06b8116007e2b2c3
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
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java 8 ●●●●● patch | view | raw | blame | history
opendj-sdk/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