"timfox" wrote : "clebert.suconic(a)jboss.com" wrote : The idea is to
get a new connection, but keep the actual delegates we are using.
| |
|
| I see what you are doing. You want to re-use the old delegate instance - in which case
you need to change the ids.
|
| Having said that, why do you want to keep the old delegates? Why not just create new
ones? Then you won't have to change any ids - I would have thought this would be
simpler and it's what I imagined when I thought this through.
That's was my first idea, to repalce delegates. But it was easier to just replace the
ID instead of replacing eventually listeners and things like that.
If I wanted to repalce the entire delegate I would have more data to replace (think about
listeners), consequently more space for errors.
Replacing the ID was just easier.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978883#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...