Is there a way to disable ehache externally using a property file? CacheManager.shutdown() doesnt seem to work? Actually we have 2 app with the same source code i require ehcache in one and not the other. one where i dont need cache is a webapp! Unable to figure to out yet how to go about this?
There is a system property you can use for this:
net.sf.ehcache.disabled=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With