We need to close a connection when an object is evicted (timed out) of a cache. In trying to create a CacheEventListener for ehcache (version 2.10.4) we get:
The inherited method Object.clone() cannot hide the public abstract method in CacheEventListener
Is there a way around this? How can this work?! Is there an alternative?