|
From: Sal I. <sal...@vo...> - 2004-01-26 18:32:05
|
1. add wrapper.jar in your classpath 2. add "org.tanukisoftware.wrapper.WrapperManager.restart ();" in your code where you want the restart to take place. restart () is a static method, that's why you can call it like this: "WrapperManager.restart ();" -----Original Message----- From: wra...@li... [mailto:wra...@li...]On Behalf Of Stéphane Merle Sent: Monday, January 26, 2004 9:24 AM To: wra...@li... Subject: [Wrapper-user] restart Hi, I managed to have my app to start as a service using the method 1 with the WrapperSimpleApp helper class But now, I'd like to have the ability to stop/start the service from within my app. How can I make the call to wrappermanager.restart() ?? Stéphane |