Sandy Ward wrote:

> Hey all,
>
> I was wondering what the best way to deal with clean up when you shut down the
> JServ?
>
> Currently I start Apache and JServ starts automatically. When I shut down Apache,
> JServ shuts down. What I would like to do is detect that JServ is going down and
> do clean up. (Save session etc....)
>
> Thanks,
> Sandy
>
> -- --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]

One way would be to override the finalize() method of Object of the objects you are
concerned about.

                            Burt.



-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to