About Shutdown
Ehcache is shut down through the Ehcache API. Note that Hibernate automatically shuts down its Ehcache CacheManager.
The recommended way to shutdown Ehcache is:
![*](chapterTOC_bullet.png)
To call CacheManager.shutdown()
![*](chapterTOC_bullet.png)
In a web app, register the Ehcache ShutdownListener
Though not recommended, you can also register a JVM shutdown hook.