|
From: Leif M. <le...@ta...> - 2007-08-28 05:07:29
|
Marc, If they are services, you could do this from the Wrapper using the WrapperManager.listServices(), or if you know a specific service you can use the WrapperManager.sendServiceControlCode() method. Pass in the SERVICE_CONTROL_CODE_INTERROGATE controlCode to find out what its latest state is. See the javadocs here: http://wrapper.tanukisoftware.org/doc/english/javadocs.html Cheers, Leif Marc Tibout wrote: > > Hi, > > I have a Java application that requires a number of services to be up > and running. > > The application target platform is Windows and the services are > installed/started/stopped with Java Service Wrapper. > > How could the application monitor whether the required services are up > and running? > > Thanks, > > Marc > |