Class WindowsService
java.lang.Object
com.sun.enterprise.admin.servermgmt.services.ServiceAdapter
com.sun.enterprise.admin.servermgmt.services.NonSMFServiceAdapter
com.sun.enterprise.admin.servermgmt.services.WindowsService
- All Implemented Interfaces:
Service
Warning: there is lots of file twiddling going on in this class. It is the nature of the beast.
- Author:
- Byron Nevins
-
Method Summary
Methods inherited from class com.sun.enterprise.admin.servermgmt.services.NonSMFServiceAdapter
getManifestFile, getManifestTemplateFile, getServiceProperties, getTimeoutSeconds, isConfigValid, setServiceProperties, setTimeoutSeconds, tokensAndValuesMethods inherited from class com.sun.enterprise.admin.servermgmt.services.ServiceAdapter
createService, deleteService, getInfo, getLocationArgsRestart, getServerDirs, isDomain, isInstance
-
Method Details
-
createServiceInternal
- Throws:
RuntimeException
-
deleteServiceInternal
public void deleteServiceInternal() -
getSuccessMessage
-
writeReadmeFile
-
toString
-
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
-
initializeInternal
public final void initializeInternal()
-