-
1. Re: JbossCache 2.1.1GA Events and Listeners question
dorbd Jun 3, 2008 1:51 AM (in response to dorbd)I found one solution relate to my question.
This solution based on: node modified event, getData() method, Util classs.
It's a good solution, still if you another one, i am still listening.
Dor -
2. Re: JbossCache 2.1.1GA Events and Listeners question
manik Jun 3, 2008 6:05 AM (in response to dorbd)Events are used to pass information back to listeners. What issues do you have with this approach?
-
3. Re: JbossCache 2.1.1GA Events and Listeners question
dorbd Jun 4, 2008 4:13 AM (in response to dorbd)Manik,
First of all everything is working good for me now using this listeners.
You asked "What issues do you have with this approach?", my answer -
I wanted to be able to know which elements were added / modified or removed to a specific node. The change from 1.4.1 sp9 to 2.1.1GA solved for me the problem.
Still, there is something that i don't get. In this version there should be a way using the addCacheListener(Fqn, Object) to add a listener to a specific node in the cache as i understand. But, when doing so, i am getting an exception which this feature isn't yet implemented. Why?
Dor -
4. Re: JbossCache 2.1.1GA Events and Listeners question
manik Jun 4, 2008 11:00 AM (in response to dorbd)Because it isn't implemented yet! :-)
Feel like implementing it and contributing it?