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.

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

Reply via email to