Class AbstractCxfBeanDefinitionParser

    • Field Summary

      • Fields inherited from class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser

        WIRE_BUS_ATTRIBUTE, WIRE_BUS_CREATE, WIRE_BUS_HANDLER, WIRE_BUS_NAME
      • Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

        ID_ATTRIBUTE, NAME_ATTRIBUTE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doParse​(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)  
      protected Map<String,​Object> getPropertyMap​(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, boolean lazyInstantiation)  
      protected boolean hasBusProperty()  
      protected void mapToProperty​(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, String val)
      Override mapToProperty() to handle the '#' reference notation ourselves.
      protected String resolveId​(Element elem, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext ctx)  
      • Methods inherited from class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser

        addBusWiringAttribute, addBusWiringAttribute, getBeanClass, getBeanClass, getFirstChild, getIdOrName, getJaxbPackage, getSuffix, isAttribute, mapAttribute, mapAttribute, mapElement, mapElementToJaxbBean, mapElementToJaxbBean, mapElementToJaxbProperty, mapElementToJaxbProperty, mapElementToJaxbProperty, mapElementToJaxbPropertyFactory, parseAttribute, parseAttributes, parseChildElements, parseQName, processBusAttribute, processNameAttribute, setBeanClass, setFirstChildAsProperty, unmarshalFactoryString
      • Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser

        doParse, getBeanClassName, getParentName, parseInternal
      • Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

        parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
    • Constructor Detail

      • AbstractCxfBeanDefinitionParser

        public AbstractCxfBeanDefinitionParser()
    • Method Detail

      • mapToProperty

        protected void mapToProperty​(org.springframework.beans.factory.support.BeanDefinitionBuilder bean,
                                     String propertyName,
                                     String val)
        Override mapToProperty() to handle the '#' reference notation ourselves. We put those properties with '#' in property map and let component to invoke setProperties() on the endpoint.
        Overrides:
        mapToProperty in class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
      • doParse

        protected void doParse​(Element element,
                               org.springframework.beans.factory.xml.ParserContext ctx,
                               org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
        Overrides:
        doParse in class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
      • resolveId

        protected String resolveId​(Element elem,
                                   org.springframework.beans.factory.support.AbstractBeanDefinition definition,
                                   org.springframework.beans.factory.xml.ParserContext ctx)
                            throws org.springframework.beans.factory.BeanDefinitionStoreException
        Overrides:
        resolveId in class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
        Throws:
        org.springframework.beans.factory.BeanDefinitionStoreException
      • hasBusProperty

        protected boolean hasBusProperty()
        Overrides:
        hasBusProperty in class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
      • getPropertyMap

        protected Map<String,​Object> getPropertyMap​(org.springframework.beans.factory.support.BeanDefinitionBuilder bean,
                                                          boolean lazyInstantiation)