It will be called whenever nodes are modified. You can then inspect the Fqn passed in to test whether this is the node you are interested in.
Otherwise, if you use JBoss Cache 2.X, the listeners are much more powerful with an event-based callback mechanism. Please see the JBoss Cache 2.X user guide for details.
First of all thanks for you quick answer, still read this -->
I will clarify my question, due to the fact that i am using the nodeModified.
I need to know, by event if it's possible, what exactly object have you insert inside or into that node that has been modified.
Now, after the insertion of tempobject i will have an event of MyContainer node that has been modified. But, I want to know what was the value that was insert to this node. In this case, TempObject as a key and 2 as it's value.
Is that possible ?
Thanks in advance,
Possible in 2.X. :-) In 1.X you would have to call a get() in your nodeModified() impl, which is inefficient.
That's probably the problem, because i am now using 1.4.1 sp9 version and not the new stable version.
Thanks, I will check this out.