ISPN-1220 Make sure that ClassLoader-decorated caches set the correct classloader when invoking listeners

https://issues.jboss.org/browse/ISPN-1220