infinispan/infinispan — pull request #2845 by slaskawi (2014-09-05 09:49:25+00:00)
Title: ISPN-1261 Implemented missing CDI events

Hi!

Please take a look at the implementation of missing events: https://issues.jboss.org/browse/ISPN-1261.

It turned out, that there was a problem with Weld implementation and generic type of the events (EventImpl). IMO Weld implements CDI spec correctly here (CDI spec 10.3), so I introduced a small wrapper around Events and, to make it type safe - it's an inner class of adapters.

I'm not sure if we should supporting deprecated CacheEntriesEvictedAdapter. I removed it, but perhaps we should leave it?

Best regards
Sebastian