|
From: Leif M. <le...@ta...> - 2009-12-11 16:52:08
|
Daniel, Sorry for the delay. The Wrapper actually supports Windows POWER events and will fire events in the JVM to give your application a chance to respond to them. Please see the WrapperServiceControlEvent class in javadocs for details on the events that can be processed. http://wrapper.tanukisoftware.org/doc/english/javadocs.html?org/tanukisoftware/wrapper/event/WrapperServiceControlEvent.html The various events can be handled by passing a WrapperEventListener instance to the WrapperManager.addWrapperEventListener(...) method. Please take a look at the Javacocs for details and let me know how it works for you or if you have any questions getting things working. Cheers, Leif On Sat, Dec 5, 2009 at 12:15 AM, Daniel Weinand <ma...@gm...> wrote: > Hello, > > is it possible to stop a Windows service before the computer enters standby? > my application is polling hardware via an virtual com port. every time the computer > wakes up the service is up and running again. but the com port is blocked by another > app instance. > > i know this is not entirely related to the wrapper. but for now i have no idea > how to solve my problem. any hints? > > regards |