+ improve bean factory locator synchronization
This commit is contained in:
@@ -125,7 +125,10 @@ public class GemfireBeanFactoryLocator implements BeanFactoryLocator, BeanFactor
|
||||
}
|
||||
|
||||
if (beanFactory == defaultFactory) {
|
||||
defaultFactory = null;
|
||||
synchronized (GemfireBeanFactoryLocator.class) {
|
||||
defaultFactory = null;
|
||||
canUseDefaultBeanFactory = beanFactories.isEmpty();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user