[jboss-user] [JBossCache] - Re: How to configure the cache listener in the xml configura

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Sep 18 13:51:55 EDT 2007


"jorgemoralespou_2" wrote : 
  | 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.

"jorgemoralespou_2" wrote : 
  | 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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085661#4085661

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085661



More information about the jboss-user mailing list