Hi, To listen for cache event, you just need a pojo class to implement TreeCacheListener. You will also need to add the listener to the cache of course. You can do it in your start MBean and that should be it.
You can try another MBean, but just keep in mind the life cycle of the MBeans, i.e., registration of listener before the data is inserted, etc. As for the last point, can you elaborate further your use case? TreeCache is a MBean service inside JBoss AS. So anything you can do with a MBean, you can use it on TreeCache. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840642#3840642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840642 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
