And maybe, just maybe, you could stop using the Design forum to ask questions about usage of JBoss Cache :)
This forum is used to discuss the design of JBoss Cache itself. Please, use the JBoss Cache User Forum instead.
In fact, your post is not even about JBoss Cache usage itself. Please visit the Sun's Java forums :)
Sorry to bother you Galder.
I just thought somebody can reply from here as it is an open community...
It is an open community in the sense that we discuss "stuff", as long as "stuff" is related to the forum where is posted, i.e.
We freely help people with issues using JBoss Cache in the JBoss Cache Users Forum
We help people with issues/queries developing features or fixing bugs in JBoss Cache in the JBoss Cache Design Forum
Your post does is not fall in either of these categories, so we're not able to help your further at this point.
I agree with Galder. WHat you are asking has nothing to do with either (a) the design of JBoss Cache or, (b) the usage of JBoss Cache. Join a JUG or something. Please read the title of each forum before you decide to post to it, just to make sure your post is relevant and you're not polluting the forum wih irrelevance.
Imagine a scenario like following :
Hot deployable objects are cached by using JBoss cache. And Whenever a new sar file is deployed, class loader which is responsible from hot deployment should send a notification to cache in order to invalidate objects so instance of new version of classes can be filled into JBoss cache again.
Does it make sense now ? Are you planing to suggest me to restart JBoss ?