org.apache.camel.component.cxf.spring
Class AbstractCxfBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
              extended by org.apache.camel.component.cxf.spring.AbstractCxfBeanDefinitionParser
All Implemented Interfaces:
BeanDefinitionParser
Direct Known Subclasses:
CxfEndpointBeanDefinitionParser, CxfRsClientFactoryBeanDefinitionParser, CxfRsServerFactoryBeanDefinitionParser

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
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
AbstractCxfBeanDefinitionParser()
           
 
Method Summary
protected  void doParse(Element element, ParserContext ctx, BeanDefinitionBuilder bean)
           
protected  Map<String,Object> getPropertyMap(BeanDefinitionBuilder bean, boolean lazyInstantiation)
           
protected  boolean hasBusProperty()
           
protected  void mapToProperty(BeanDefinitionBuilder bean, String propertyName, String val)
          Override mapToProperty() to handle the '#' reference notation ourselves.
protected  String resolveId(Element elem, AbstractBeanDefinition definition, ParserContext ctx)
           
 
Methods inherited from class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
addBusWiringAttribute, getBeanClass, getBeanClass, getFirstChild, getIdOrName, getJaxbPackage, getSuffix, isAttribute, mapAttribute, mapAttribute, mapElement, 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
 

Constructor Detail

AbstractCxfBeanDefinitionParser

public AbstractCxfBeanDefinitionParser()
Method Detail

mapToProperty

protected void mapToProperty(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,
                       ParserContext ctx,
                       BeanDefinitionBuilder bean)
Overrides:
doParse in class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser

resolveId

protected String resolveId(Element elem,
                           AbstractBeanDefinition definition,
                           ParserContext ctx)
                    throws BeanDefinitionStoreException
Overrides:
resolveId in class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
Throws:
BeanDefinitionStoreException

hasBusProperty

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

getPropertyMap

protected Map<String,Object> getPropertyMap(BeanDefinitionBuilder bean,
                                            boolean lazyInstantiation)


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.