|
From: Dan B. <dh...@ri...> - 2004-05-05 03:59:19
|
I have been tasked with writing an application which is capable of starting
and stopping a windows service. The application is supposed to be written
in Java. I was planning on using the Service Wrapper to install and run the
service.
When browsing the API I didn't see any mechanism to access the
services, and start/stop a particular service. Can anyone tell me if this
is possible, and perhaps point me in the right direction?
I know I could use the Runtime and exec net start ..., but I was
wondering if there was a way to achieve this through the API(the same one
that the wrapper.exe/dll uses?)
Thanks,
Dan
|