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
- Direct Known Subclasses:
CxfEndpointBeanDefinitionParser
,CxfRsClientFactoryBeanDefinitionParser
,CxfRsServerFactoryBeanDefinitionParser
public abstract class AbstractCxfBeanDefinitionParser extends org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
-
-
Constructor Summary
Constructors Constructor Description AbstractCxfBeanDefinitionParser()
-
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
-
-
-
-
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 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:
doParse
in 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:
resolveId
in classorg.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
- Throws:
org.springframework.beans.factory.BeanDefinitionStoreException
-
hasBusProperty
protected boolean hasBusProperty()
- Overrides:
hasBusProperty
in classorg.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
-
-