|
From: Michael 'b. S. <msc...@gi...> - 2005-10-19 12:52:09
|
Good day list. I'm currently looking for some features I would need to implement into my application. I developed an application that fiddles with an xml-file which used to configure our main-java-services. Besides that my application generates JSW-config-files from the properties specified in that xml. One purpose for my application is, when running under Windows, to give the possibilty to install/remove/update a service. My problem now is, that I need to know a) is the service already installed b) is it running c) ... Cause my app is implemented in java as well I'm looking for a way to achive informations about installed windows-service in some one. Currently I'm parsing the output of srvinfo.exe, which is a bit ugly. Are there any function in the jsw-lib/dll to be called via JNI to achive my goals? Any other hints to libs/dlls are welcome as well. Thanks in advance. Greetings, Michael -- I am root. If you see me laughing, you better have a backup. |