: Romilly Cocking [mailto:romilly.cock...@gmail.com]
Envoyé : lundi 16 mars 2009 15:39
À : discuss@restlet.tigris.org
Objet : Re: InterruptedException when stopping component
Thanks, Jerome,
It's good to know I was not too far off course.
What is the benefit of using the Application's
15, 2009 10:11 PM
To: discuss@restlet.tigris.org
Subject: InterruptedException when stopping component
I've implemented a ShutdownRestlet that allows clients to make a remote request
to shut down its contolling Component.
It works after a fashion, but an InterruptedException is thrown whenever
I've found a workaround; I start another thread and send stop() to the
container after a 100 ms delay.
It works, but it's not pretty. Is there a better solution?
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1326444
: discuss@restlet.tigris.org
Objet : RE: InterruptedException when stopping component
I've found a workaround; I start another thread and send stop() to the
container after a 100 ms delay.
It works, but it's not pretty. Is there a better solution
:24
À : discuss@restlet.tigris.org
Objet : RE: InterruptedException when stopping component
I've found a workaround; I start another thread and send stop() to the
container after a 100 ms delay.
It works, but it's not pretty. Is there a better solution
I've implemented a ShutdownRestlet that allows clients to make a remote request
to shut down its contolling Component.
It works after a fashion, but an InterruptedException is thrown whenever I
request a shutdown. I suspect that the ShutdownRestlet thinks it still has work
to do when the
6 matches
Mail list logo