private ConfigurationContextResolver processConfigurationContextResolverTag(Element element, ParserContext parserContext) {
if (element == null) {
BeanDefinitionBuilder contextResolverBean;
contextResolverBean = BeanDefinitionBuilder.rootBeanDefinition(DefaultConfigurationContextResolver.class);
parserContext.getRegistry().registerBeanDefinition(CONFIGURATION_CONTEXT_RESOLVER_NAME, contextResolverBean.getBeanDefinition());
return new DefaultConfigurationContextResolver();
} else {
String clazz = element.getAttribute("class");
BeanDefinitionBuilder contextResolverBean = BeanDefinitionBuilder.rootBeanDefinition(clazz);
parserContext.getRegistry().registerBeanDefinition(CONFIGURATION_CONTEXT_RESOLVER_NAME, contextResolverBean.getBeanDefinition());
try {