One problem with that code is that in case of race start() will be called on the old store
even if it's already started, i.e. it should read:
| if (oldStore != null)
| {
| store = oldStore;
| }
| else
| {
| store.start();
| }
|
You could just have the store ignore duplicate calls to start(). but that's a bit
messy imho
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189727#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...