Codota Logo
AbstractNestedElementCloudServiceFactoryParser.doParse
Code IndexAdd Codota to your IDE (free)

How to use
doParse
method
in
org.springframework.cloud.config.xml.AbstractNestedElementCloudServiceFactoryParser

Best Java code snippets using org.springframework.cloud.config.xml.AbstractNestedElementCloudServiceFactoryParser.doParse (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.springframework.cloud/spring-cloud-spring-service-connector

@Override
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {
  super.doParse(element, parserContext, builder);
  BeanDefinition cloudRabbitConfiguration = parseRabbitOptionsElement(element, parserContext);
  builder.addConstructorArgValue(cloudRabbitConfiguration);
}
origin: spring-cloud/spring-cloud-connectors

@Override
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {
  super.doParse(element, parserContext, builder);
  BeanDefinition cloudRabbitConfiguration = parseRabbitOptionsElement(element, parserContext);
  builder.addConstructorArgValue(cloudRabbitConfiguration);
}
origin: org.springframework.cloud/spring-cloud-spring-service-connector

@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());
}
origin: org.springframework.cloud/spring-service-connector

@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());
}
origin: spring-cloud/spring-cloud-connectors

@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());
}
origin: org.springframework.cloud/spring-service-connector

@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);
}
origin: spring-cloud/spring-cloud-connectors

@Override
protected void doParse(Element element, ParserContext parserContext,
    BeanDefinitionBuilder builder) {
  super.doParse(element, parserContext, builder);
origin: org.springframework.cloud/spring-cloud-spring-service-connector

@Override
protected void doParse(Element element, ParserContext parserContext,
    BeanDefinitionBuilder builder) {
  super.doParse(element, parserContext, builder);
org.springframework.cloud.config.xmlAbstractNestedElementCloudServiceFactoryParserdoParse

Popular methods of AbstractNestedElementCloudServiceFactoryParser

    Popular in Java

    • Reactive rest calls using spring rest template
    • getExternalFilesDir (Context)
    • startActivity (Activity)
    • scheduleAtFixedRate (ScheduledExecutorService)
      Creates and executes a periodic action that becomes enabled first after the given initial delay, and
    • BufferedReader (java.io)
      Reads text from a character-input stream, buffering characters so as to provide for the efficient re
    • Thread (java.lang)
      A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
    • URLEncoder (java.net)
      This class is used to encode a string using the format required by application/x-www-form-urlencoded
    • BitSet (java.util)
      This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
    • Vector (java.util)
      The Vector class implements a growable array of objects. Like an array, it contains components that
    • JButton (javax.swing)
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now