org.apache.camel.component.cxf.spring
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
| Fields inherited from class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser |
WIRE_BUS_ATTRIBUTE, WIRE_BUS_NAME |
| Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
|
Method Summary |
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, parseAttributes, parseChildElements, parseQName, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCxfBeanDefinitionParser
public AbstractCxfBeanDefinitionParser()
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)
Apache CAMEL