if (null == beanFactories) {
beanFactories = new HashMap<UrlResource, CeltixXmlBeanFactory>();
}
CeltixXmlBeanFactory beanFactory = null;
UrlResource urlRes = getBeanDefinitionsResource();
if (null != urlRes) {
if (!beanFactories.containsKey(urlRes)) {
if (null != urlRes) {
try {
beanFactory = new CeltixXmlBeanFactory(urlRes);
} catch (BeansException ex) {
// continue without using configuration from the bean definitions
LOG.log(Level.WARNING, new Message("BEAN_FACTORY_CREATION_MSG", LOG, urlRes
.toString()).toString(), ex);
}
beanFactories.put(urlRes, beanFactory);
}
} else {