Re: "Kill on shutdown" flag for CGI-Frame ?

When your resource is going to be unloaded (not only when
the server shutdown), the method

public void notifyUnload();

of the resource is called and an event is sent, you can see how to catch this
event in org.w3c.jigedit.tools.ToolsListerFrame.

Regards, Benoit.

Roland Mainz wrote:

> Hi !
>
> ----
>
> I'm looking for a feature like "kill on server shutdown" for CGI-scripts
> and/or
> a timeout feature which "kills" the script after a given timeout.
>
> Possible implemenation:
> A Vector object containing all active "Process"-objects. On timeout or
> server shutdown,
> the Process object is killed (proc.destroy()).
>
> Possible new variables for CGI-Frame:
> - boolean "Kill on server shutdown"
> - "timeout" value (like those from Servlet...)
>
> ----
>
> jigsaw programmer question:
> How to detect a server shotdown from within a Frame ?
>
> ----
>
> Bye,
> Roland
>
> --
>   __ .  . __
>  (o.\ \/ /.o)  Roland Mainz                               C programmer
>   \__\/\/__/   Roland.Mainz@informatik.med.uni-giessen.de MPEG specialist
>   /O /==\ O\   gisburn@w-specht.rhein-ruhr.de             Sun&&Amiga programmer
>  (;O/ \/ \O;)  TEL +49 (0) 2426901568  FAX +49 (0) 2426901569

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium   (W3C)
                    Architecture domain - Jigsaw Engineer

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------

Received on Friday, 23 April 1999 10:18:35 UTC