[jboss-dev-forums] [Design of JBossCache] - Re: [JBCACHE-1470] Option to disable cache event generation
manik.surtani@jboss.com
do-not-reply at jboss.com
Thu Jan 29 06:48:17 EST 2009
Welcome back. :-)
Looks good, and in general, I prefer a blanket approach where all notifications are suppressed if the option is present rather than specifying the listener class to skip since the latter implies knowledge of listeners registered.
Actually, thinking about it, perhaps notifications should never be issued to a listener that *generates* a notification anyway, to prevent cyclic behaviour? No, I foresee code that may well have been written to take advantage of this. An explicit option is probably better.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205518#4205518
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205518
More information about the jboss-dev-forums
mailing list