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

jvergara
02.30.2009 e48358261272d6542fbfbca16aadd039c44d12c6
opends/src/server/org/opends/server/tools/ConfigureWindowsService.java
@@ -35,6 +35,7 @@
import java.io.OutputStream;
import java.io.PrintStream;
import org.opends.quicksetup.util.Utils;
import org.opends.server.core.DirectoryServer;
import org.opends.server.types.NullOutputStream;
import org.opends.server.util.SetupUtils;
@@ -399,8 +400,14 @@
   */
  public static int enableService(PrintStream out, PrintStream err)
  {
    return enableService(out, err, INFO_WINDOWS_SERVICE_NAME.get().toString(),
        INFO_WINDOWS_SERVICE_DESCRIPTION.get(getServerRoot()).toString());
    Message serviceName = Utils.getCustomizedObject(
        "INFO_WINDOWS_SERVICE_NAME",
        INFO_WINDOWS_SERVICE_NAME.get(), Message.class);
    Message serviceDescription = Utils.getCustomizedObject(
        "INFO_WINDOWS_SERVICE_DESCRIPTION",
        INFO_WINDOWS_SERVICE_DESCRIPTION.get(getServerRoot()), Message.class);
    return enableService(out, err, serviceName.toString(),
        serviceDescription.toString());
  }
  /**