|
From: Leif M. <le...@ta...> - 2003-05-23 01:02:37
|
Jindong,
I will take a look at how to improve this with the WrapperSimpleApp and
WrapperStartStopApp helper classes. As is described in the documentation,
this is expected. But it can use improvement.
For now, to get this behavior, you can use integration method 3 and
implement the WrapperListener interface yourself. This method requires
more work however so getting your request implemented will be the best
solution.
Cheers,
Leif
Jindong Li wrote:
> Hi there,
>
> I'm using WrapperStartStopApp to start my application as Windows
> Service, one thing I think would be a nice to have is to be able to
> set up the startWaitHint in the configuration file, right now, the
> start() will only wait 2 seconds before it returns and signaling that
> the service has started while in fact the thread that runs the main
> method could be still running especially with applications that take a
> long time to start...
>
> This will avoid the situation where service appears started even
> though it's not...
>
> Any comments?
>
> Jindong.
>
|