When is ServletContextListener.contextDestroyed called

Per Edlund <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <LISTSERV%[email protected]>
Hi!

Maby a stupied q, but I really want to make sure. I've looked at the servlet2.3 spec
and I can't find anything about when this really get's called.

Is it so, that it happends only when you stop the web application? Or is it up the the
ventor when this is called?

What I want to make sure of is that I want one object to live as long as the war is
deployed, and only released when the war get's undeployed or the servlet container
shuts down.

/Per

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.