This content has been marked as final. Show 1 reply
Why this is not a feature? I think it is very desired for a lot of people.
Want to contribute it as a feature then? ;)
Otherwise, create a JIRA for this, as a feature request, and vote on it. I'll see when we can schedule it.
How should I register my listeners, and when. I'm using some treeCaches in a JBoss server Environment, and I want to act on some nodes being created. I store configuration in cache, and as these configuration changes, I want to fire some MBean notifications, for reconfiguring some parts of the app. Also, this has to be done in every node of my cluster.
Use the listener registration API. See the user guide for this. If this is in a webapp, a startup servlet may be a good place to do this. You will have to copy this code on to all servers in your cluster.