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_NAMEFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoParse(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) getPropertyMap(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, boolean lazyInstantiation) protected booleanprotected voidmapToProperty(org.springframework.beans.factory.support.BeanDefinitionBuilder bean, String propertyName, String val) Override mapToProperty() to handle the '#' reference notation ourselves.protected StringresolveId(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, unmarshalFactoryStringMethods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternalMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
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:
mapToPropertyin classorg.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:
doParsein classorg.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:
resolveIdin classorg.apache.cxf.configuration.spring.AbstractBeanDefinitionParser- Throws:
org.springframework.beans.factory.BeanDefinitionStoreException
-
hasBusProperty
protected boolean hasBusProperty()- Overrides:
hasBusPropertyin classorg.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
-
getPropertyMap
-