Class HttpConduitBeanDefinitionParser

  • All Implemented Interfaces:
    org.springframework.beans.factory.xml.BeanDefinitionParser

    public class HttpConduitBeanDefinitionParser
    extends AbstractBeanDefinitionParser
    • Constructor Detail

      • HttpConduitBeanDefinitionParser

        public HttpConduitBeanDefinitionParser()
    • Method Detail

      • doParse

        public void doParse​(Element element,
                            org.springframework.beans.factory.xml.ParserContext ctx,
                            org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
        Overrides:
        doParse in class AbstractBeanDefinitionParser
      • mapTLSClientParameters

        public void mapTLSClientParameters​(Element e,
                                           org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
        Inject the "setTlsClientParameters" method with a TLSClientParametersConfig object initialized with the JAXB generated type unmarshalled from the selected node.
      • mapBeanOrClassElement

        protected void mapBeanOrClassElement​(Element element,
                                             org.springframework.beans.factory.support.BeanDefinitionBuilder bean,
                                             Class<?> elementClass)
        This method finds the class or bean associated with the named element and sets the bean property that is associated with the same name as the element.

        The element has either a "class" attribute or "bean" attribute, but not both.

        Parameters:
        element - The element.
        bean - The Bean Definition Parser.
        elementClass - The Class a bean or class is supposed to be.