[jboss-user] [JBoss Cache] New message: "Re: How to manage empty data with a CacheLoader?"
Nicolas Filotto
do-not-reply at jboss.com
Mon Feb 15 05:49:21 EST 2010
User development,
A new message was posted in the thread "How to manage empty data with a CacheLoader?":
http://community.jboss.org/message/526304#526304
Author : Nicolas Filotto
Profile : http://community.jboss.org/people/nfilotto
Message:
--------------------------------------------------------------
Thanks Galder for this very helpful clarification, indeed extending the CacheLoaderInterceptor can be an interesting approach but (for me) only to allow me to inject properly my decorator because the decorator only relies on a public API so it is less risky to use it in order to easily ensure forward compatibility. Up to now, my way to inject my decorator could be potentially incompatible with the next versions of JBC so I'm very interested in knowing the "secure" way to replace the current CacheLoaderInterceptor by my own sub-class. I have seen in the javadoc that we have method such as cache.removeInterceptor and cache.addInterceptor, but how to ensure that our own CacheLoaderInterceptor implementation will be at the exact same position knowing that the position is critical in JBC?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/526304#526304
More information about the jboss-user
mailing list