@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { super.doParse(element, parserContext, builder); BeanDefinition cloudRabbitConfiguration = parseRabbitOptionsElement(element, parserContext); builder.addConstructorArgValue(cloudRabbitConfiguration); }
@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { super.doParse(element, parserContext, builder); BeanDefinition cloudRabbitConfiguration = parseRabbitOptionsElement(element, parserContext); builder.addConstructorArgValue(cloudRabbitConfiguration); }
@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { super.doParse(element, parserContext, builder); Map<String, String> attributeMap = new HashMap<String, String>(); parseWriteConcern(element, attributeMap); parseMongoOptionsElement(element, attributeMap); BeanDefinitionBuilder cloudMongoConfigurationBeanBuilder = BeanDefinitionBuilder.genericBeanDefinition("org.springframework.cloud.service.document.MongoDbFactoryConfig"); for (String key : new String[]{WRITE_CONCERN, CONNECTIONS_PER_HOST, MAX_WAIT_TIME}) { String value = attributeMap.get(key); cloudMongoConfigurationBeanBuilder.addConstructorArgValue(value); } builder.addConstructorArgValue(cloudMongoConfigurationBeanBuilder.getBeanDefinition()); }
@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { super.doParse(element, parserContext, builder); Map<String, String> attributeMap = new HashMap<String, String>(); parseWriteConcern(element, attributeMap); parseMongoOptionsElement(element, parserContext, attributeMap); BeanDefinitionBuilder cloudMongoConfigurationBeanBuilder = BeanDefinitionBuilder.genericBeanDefinition("org.springframework.cloud.service.document.MongoDbFactoryConfig"); for (String key : new String[]{WRITE_CONCERN, CONNECTIONS_PER_HOST, MAX_WAIT_TIME}) { String value = attributeMap.get(key); cloudMongoConfigurationBeanBuilder.addConstructorArgValue(value); } builder.addConstructorArgValue(cloudMongoConfigurationBeanBuilder.getBeanDefinition()); }
@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { super.doParse(element, parserContext, builder); Map<String, String> attributeMap = new HashMap<String, String>(); parseWriteConcern(element, attributeMap); parseMongoOptionsElement(element, attributeMap); BeanDefinitionBuilder cloudMongoConfigurationBeanBuilder = BeanDefinitionBuilder.genericBeanDefinition("org.springframework.cloud.service.document.MongoDbFactoryConfig"); for (String key : new String[]{WRITE_CONCERN, CONNECTIONS_PER_HOST, MAX_WAIT_TIME}) { String value = attributeMap.get(key); cloudMongoConfigurationBeanBuilder.addConstructorArgValue(value); } builder.addConstructorArgValue(cloudMongoConfigurationBeanBuilder.getBeanDefinition()); }
@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { super.doParse(element, parserContext, builder); BeanDefinition cloudRabbitConfiguration = null; NodeList childNodes = element.getChildNodes(); for (int i = 0; i < childNodes.getLength(); i++) { Node child = childNodes.item(i); if (isElement(child, parserContext, ELEMENT_RABBIT_OPTIONS)) { cloudRabbitConfiguration = parseRabbitOptionsElement((Element) child); } } builder.addConstructorArgValue(cloudRabbitConfiguration); }
@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { super.doParse(element, parserContext, builder);
@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { super.doParse(element, parserContext, builder);