Class WindowsService

  • All Implemented Interfaces:
    Service

    public class WindowsService
    extends NonSMFServiceAdapter
    Warning: there is lots of file twiddling going on in this class. It is the nature of the beast.
    Author:
    Byron Nevins
    • Method Detail

      • deleteServiceInternal

        public void deleteServiceInternal()
      • getSuccessMessage

        public final String getSuccessMessage()
      • writeReadmeFile

        public final void writeReadmeFile​(String msg)
      • getLocationArgsStart

        public final String getLocationArgsStart()
        Byron Nevins March 2012 There is a bug in the older version of winsw. We MUST double-quote paths. winsw does this automatically for "executable" since it knows that it has to be a path. But not for start/stop arg paths If we upgrade to a 'fixed' later version of winsw I checked and it is looking for already-quoted strings because of the bug. So it won't be necessary to change it here.
        Returns:
        all start arguments as a String
      • getLocationArgsStop

        public final String getLocationArgsStop()
      • initializeInternal

        public final void initializeInternal()