I do not know about the XML configuration. Codewise it is just
| public class TestTreeCacheListener implements TreeCacheListener {
|
| public TestTreeCacheListener() {
| super();
| }
|
| public void viewChange(View inView) {
| // Do your stuff
| }
This is great. I have been looking around but don't see an example of how to
connect a TreeCacheListener to a cache instance. Where can I find an example
of this?
I am assuming it can be done in xml configuration files.
Thanks again,
Greenbean
View the original post :
http://www.jboss.com/
Implement a TreeCacheListener, the callback is viewAccepted(View)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907111#3907111
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907111
---
You can register a TreeCacheListener to your cache. Whenever a member joins or
leaves the group the viewChange method gets called with a list of the current
members.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907110#3907110
Reply to the post :
http://ww