I want to have stop and exit restlet server command line interface.
The start is simple (java -jar myRest.jar).

I know from within I can do getContext().getApplication().stop()
I could to it in response to http request .../STOP, but... I want to keep 
control on the server only.

So I am looking for something like starting a new Java application

java -jar myRest.jar STOP

to tell the other application to STOP cleanly.

Leshek
Ps. Posting it over web interface, regular reader post did not go through...

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1020497

Reply via email to