Changed cache listener to use the postLoad event instead of loadClassMetadata - the latter doesn't run when the metadata is cached!