ModeShape/modeshape — pull request #1320 by hchiorean (2014-11-17 14:10:58+00:00)
Title: MODE-2364 Changed the way the Infinspan listener approach is used when dealing with user transactions:

Instead of multiple listeners (which doesn't really scale), this approach uses 1 listener instance to handle all the different threads (transactions) and leverages the fact that we're using a TreadLocal to store the active ModeShape transaction. Therefore, when notified, the listener should be able to tell if it's being notified for the tx associated with the current thread or not.