> From: Steffen Heil [mailto:li...@steffen-heil.de]
> Subject: AW: Shutdown hook for correctly unloading drivers
> 
> How does tomcat unload classes?

It doesn't, at least not directly.  Tomcat simply eliminates all references to 
the classes; the actual unloading is done by GC at some point in the future.

> Is there even a way in java to do this?

Just the above.  But making the classes unreachable should be adequate for 
whatever purpose you have in mind.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to