Class AbstractCxfBeanDefinitionParser

java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
org.apache.camel.component.cxf.spring.AbstractCxfBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public abstract class AbstractCxfBeanDefinitionParser extends org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractCxfBeanDefinitionParser

      public AbstractCxfBeanDefinitionParser()
  • Method Details

    • 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)