spring-framework / org.springframework.web.context.support / ServletContextScope / destroy

destroy

open fun destroy(): Unit

Invoke all registered destruction callbacks. To be called on ServletContext shutdown.

See Also
org.springframework.web.context.ContextCleanupListener