|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.denova.runtime.WindowsServices
Manage Windows services.
| Field Summary |
| Constructor Summary | |
WindowsServices()
|
|
| Method Summary | |
boolean |
installService(java.lang.String serviceName,
java.lang.String serviceLabel,
java.lang.String executable,
boolean automatic)
|
boolean |
removeService(java.lang.String serviceName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WindowsServices()
| Method Detail |
public boolean installService(java.lang.String serviceName,
java.lang.String serviceLabel,
java.lang.String executable,
boolean automatic)
serviceName - is the name used internally by SCMserviceLabel - is the name that displays in the Service Control Panelexecutable - is the pathname to the executable; use double quotes for filenames with spacesautomatic - is set true, if you want the service invoked automatically on startup
public boolean removeService(java.lang.String serviceName)
serviceName - is the name used internally by SCM
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||